Support setting table statistics
Implement Transaction.updateStatistics API.
Extracted from https://github.com/apache/iceberg/pull/4741 per https://github.com/apache/iceberg/pull/4741#discussion_r966200811. Probably not testable before that PR is merged.
Applied comments, @rdblue please take another look
rebased after https://github.com/apache/iceberg/pull/5799 merged, no other changes
@rdblue please take a look
Thank you @rdblue for your review!
This looks good other than the separate logic between
applyandcommit. I think refactoring to use a commoninternalApplyis the only thing blocking this.
done! please take a look
I pushed empty commit to diagnose the build failure that occurred in the previous run https://github.com/apache/iceberg/actions/runs/3126381931/jobs/5071814830
The build is green now (https://github.com/apache/iceberg/actions/runs/3127126451/jobs/5073407795)
Empty commits get removed on rebase-and-merge (should someone want to merge this PR), but to avoid confusion I will still remove it from here.
Thanks, @findepi!
Thank you @rdblue for the merge, and all your review comments!