rdblue commented on code in PR #6069: URL: https://github.com/apache/iceberg/pull/6069#discussion_r1014895867
########## python/pyiceberg/expressions/visitors.py: ########## @@ -526,7 +528,7 @@ def visit_equal(self, term: BoundTerm, literal: Literal[Any]) -> bool: if lower > literal.value: return ROWS_CANNOT_MATCH - upper = _from_byte_buffer(term.ref().field.field_type, field.lower_bound) + upper = _from_byte_buffer(term.ref().field.field_type, field.upper_bound) Review Comment: @Fokko, can you check why tests didn't catch this case? We should ensure this is tested properly and separate the fix into its own PR. -- 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