anoopj opened a new issue, #16222:
URL: https://github.com/apache/iceberg/issues/16222
### Feature Request / Improvement
### Context
`TrackedFileAdapters.extractPartition` derives partition values by applying
each partition transform to the lower bound of the source column's field
stats. This works because each data file belongs to exactly one partition
(lower == upper for partition source columns), but it is indirect and
requires the full ContentStats to be present.
The v4 spec is expected to add an explicit partition tuple field to the
tracked file struct (using a union partition schema). Once that lands, the
adapter should read the tuple directly instead of deriving it from stats.
### Proposed change
Once TrackedFile has an explicit partition field, replace
`extractPartition(TrackedFile, PartitionSpec)` with a direct read of the
partition tuple from the fil
### Query engine
None
### Willingness to contribute
- [x] I can contribute this improvement/feature independently
- [ ] I would be willing to contribute this improvement/feature with
guidance from the Iceberg community
- [ ] I cannot contribute this improvement/feature at this time
--
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]