Anurag-S1ngh commented on PR #4407: URL: https://github.com/apache/iceberg-python/pull/4407#issuecomment-6976833944
Thanks for the detailed check. I reproduced the count() case and fixed it in af385e0a. - The strict projection now returns None for less-than predicates that can match the wrapped partition, and for greater-than predicates when the type wraps at all, so the residual keeps the original predicate and count() reads the file. - Added test_count_truncate_partitions_near_the_minimum with write.metadata.metrics.default=counts, asserting count() and to_arrow() agree for < and > at the minimum. - Ran a local sweep of =, !=, <, <=, >, >=, IN and NOT IN at both ends of int and long with truncate[1000] and truncate[7]: 416 checks, no mismatch between to_arrow() and count(). - Moved the scan test next to the other partitioning tests, and updated the description with the add_files fix and the note that the range projection goes beyond Java. -- 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]
