ebyhr opened a new issue, #14375: URL: https://github.com/apache/iceberg/issues/14375
### Proposed Change Currently, the partition statistics file is only supported for partitioned tables. https://github.com/apache/iceberg/blob/b987e60bbd581d6e9e583107d5a85022261ff0d8/core/src/main/java/org/apache/iceberg/PartitionStatsHandler.java#L207 While this design makes sense since it’s conceptually a “partition” statistics file, the information it contains is also valuable for unpartitioned tables. For example, the Trino Iceberg connector currently needs to read manifest files ([TableStatisticsReader](https://github.com/trinodb/trino/blob/master/plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/TableStatisticsReader.java)) to build internal table statistics. If Iceberg provided a statistics file for unpartitioned tables as well, Trino (and other query engines) could leverage it directly, improving planning performance by avoiding expensive manifest reads. ### Proposal document _No response_ ### Specifications - [x] Table - [ ] View - [ ] REST - [ ] Puffin - [ ] Encryption - [ ] Other -- 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]
