Expose table statistics in Table API
Follows https://github.com/apache/iceberg/pull/4945 and https://github.com/apache/iceberg/pull/5021
@findepi, I think this is too big to go in on its own. Can you split it into separate PRs for different parts?
@rdblue i have this split. https://github.com/apache/iceberg/pull/4537 has already been reviewed.
We need to remember to keep remove_orphan_files from deleting Statistics files
We need to remember to keep
remove_orphan_filesfrom deleting Statistics files
Thanks for reminding about this here. It's on my todo list, see eg https://github.com/trinodb/trino/pull/12317#discussion_r876044928
We need to remember to keep
remove_orphan_filesfrom deleting Statistics files
Fixed & test added.
Conflicting files .palantir/revapi.yml core/src/main/java/org/apache/iceberg/BaseSnapshot.java
ops.
Updated to the current state of https://github.com/apache/iceberg/pull/5021
Rebased after #5021 has been merged to make Conflicts disappear.
@rdblue please let me know if you have any comments.
Per https://github.com/apache/iceberg/pull/4741#discussion_r966200811, I've shrunk the scope of this PR and extracted https://github.com/apache/iceberg/pull/5794 and also https://github.com/apache/iceberg/pull/5795 .
Thanks, @findepi! I'll give this another look.
Thanks @rdblue . https://github.com/apache/iceberg/pull/5799 might be the easiest to start from.
@rdblue this is ready to review.
Thanks, @findepi!
Thank you for the merge!