lyne7-sc opened a new pull request, #19319: URL: https://github.com/apache/iceberg/pull/19319
# Body Filters on Parquet `TIMESTAMP_MILLIS` columns can miss matching rows when Iceberg uses microsecond literals to filter values stored in milliseconds. This PR converts file and row-group bounds and dictionary values to microseconds with overflow checks. It probes Bloom filters and builds parquet-mr predicates in milliseconds, adjusting parquet-mr comparisons when a range bound falls between two milliseconds. **Test plan** - Check file bounds in microseconds and that statistics, dictionary, and Bloom pruning retain matching row groups and skip nonmatching groups. - Check parquet-mr equality and fractional range predicates before the Unix epoch. - The four regression cases failed on `374719404` and passed on `d5fa7aab8`. --- **AI Disclosure** - Model: GPT-6.2 - Platform/Tool: OpenAI Codex - Human Oversight: fully reviewed - Prompt Summary: Generated timestamp conversions, predicate rewriting, and regression tests for `TIMESTAMP_MILLIS` pruning. -- 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]
