Fokko commented on code in PR #6139:
URL: https://github.com/apache/iceberg/pull/6139#discussion_r1015503864


##########
python/pyiceberg/expressions/literals.py:
##########
@@ -439,6 +439,9 @@ def _(self, type_var: DecimalType) -> 
Optional[Literal[Decimal]]:
         else:
             return None
 
+    def __repr__(self) -> str:
+        return f"StringLiteral({repr(self.value)})"

Review Comment:
   I had to add this one, otherwise, it would produce `StringLiteral(foo)` 
which isn't valid Python (missing quotes around the string.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to