sankalpsthakur opened a new pull request, #18160: URL: https://github.com/apache/iceberg/pull/18160
Closes #15502 Identity partition projection copied literals from transform predicates (for example `hours(ts) = 490674`) onto the identity partition field. Binding that predicate to a timestamp partition type throws `ValidationException` during scan planning, so queries fail instead of scanning the matching files. This follows the existing `BoundTransform` handling in `Bucket`, `Truncate`, and `TimeTransform`: project only when the bound transform is identity, otherwise return null so inclusive projection falls back to `alwaysTrue` and strict projection to `alwaysFalse`. Non-reference terms such as `BoundExtract` are also skipped. This revives the approach from #16074 / #17261 (approved, then stale-closed), using `ProjectionUtil.projectTransformPredicate`. I have an ICLA on file with the Apache Software Foundation. --- **AI Disclosure** - Model: Cursor Grok 4.6 - Platform/Tool: Cursor - Human Oversight: fully reviewed - Prompt Summary: Find one high-priority Apache Iceberg issue, implement a small fix on the sankalpsthakur/iceberg fork, and open a PR to apache/iceberg. -- 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]
