Fokko commented on code in PR #1689:
URL: https://github.com/apache/iceberg-python/pull/1689#discussion_r1963271200


##########
pyiceberg/expressions/parser.py:
##########
@@ -90,13 +89,7 @@
 @column.set_parse_action
 def _(result: ParseResults) -> Reference:
     if len(result.column) > 1:
-        deprecation_message(
-            deprecated_in="0.8.0",
-            removed_in="0.9.0",
-            help_message="Parsing expressions with table name is deprecated. 
Only provide field names in the row_filter.",
-        )
-    # TODO: Once this is removed, we will no longer take just the last index 
of parsed column result
-    # And introduce support for parsing filter expressions with nested fields.
+        raise ValueError(f"Cannot parse expressions with table names or nested 
fields, got: {".".join(result.column)}")
     return Reference(result.column[-1])

Review Comment:
   Based on the comment, I think this is what we want:
   ```suggestion
       return Reference(result.column)
   ```
   
   We should not raise a `ValueError`, and allow for nested fields.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to