iceberg icon indicating copy to clipboard operation
iceberg copied to clipboard

API, Core: Scan API for partition stats

Open gaborkaszab opened this issue 1 month ago • 5 comments

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.

gaborkaszab avatar Nov 20 '25 09:11 gaborkaszab

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.

gaborkaszab avatar Nov 20 '25 09:11 gaborkaszab

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.

gaborkaszab avatar Nov 20 '25 11:11 gaborkaszab

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.

gaborkaszab avatar Dec 01 '25 09:12 gaborkaszab

@nastra @ajantha-bhat Do you think you can take a look at this? You were involved with stats stuff recently.

gaborkaszab avatar Dec 09 '25 13:12 gaborkaszab

sorry I've been busy with internal things but I'll try to review this next week

nastra avatar Dec 12 '25 12:12 nastra