API, Core: Scan API for partition stats
This PR adds a new API to scan partition statistics, and provides an implementation for this new API. Deprecates the old way of querying partition stats, however, doesn't replace the usage of the deprecated functionality with the new API.
Note, this is split from this PR concentrating on introducing, implementing and testing the new API. In #14508 you can see how it would look like to remove the usage from the deprecated functionality.
Hey @nastra , You were busy working on stats recently, do you think you can a look at this? The original PR was https://github.com/apache/iceberg/pull/14508 that contains more details and also replacing the deprecated functionality with the new one. To keep the PR small, I split the introduction of new functionality into this separate PR.
Hey @nastra @ajantha-bhat @pvary , I ping you because you all were involved with stats for some extent. Would you mind taking a look at this? Note, I have a PoC PR that contains the full picture, also replacing old usage and all. This is is a split from that introducing the new API and it's implementation, but doesn't replace usage of old functionality.
@nastra @ajantha-bhat Do you think you can take a look at this? You were involved with stats stuff recently.
sorry I've been busy with internal things but I'll try to review this next week