Skip to content

API, Core: Implement v4 file-level tight_stats - #18598

Open
anoopj wants to merge 7 commits into
apache:mainfrom
anoopj:v4-tight-stats-impl
Open

anoopj wants to merge 7 commits into
apache:mainfrom
anoopj:v4-tight-stats-impl

Conversation

@anoopj

@anoopj anoopj commented Oct 21, 2026

Copy link
Copy Markdown
Member

Implements the file-level tight_stats flag on v4 tracked files and the related content stats changes.

Spec PR: #18585

@github-actions github-actions Bot added the core label Oct 21, 2026
@anoopj
anoopj force-pushed the v4-tight-stats-impl branch from 5486e0b to f24db6d Compare October 22, 2026 01:08
@github-actions github-actions Bot added the API label Oct 22, 2026
@anoopj anoopj changed the title Core: Implement v4 file-level tight_stats API, Core: Implement v4 file-level tight_stats Oct 22, 2026
@anoopj anoopj moved this to In review in V4: metadata tree Oct 22, 2026
Comment thread core/src/main/java/org/apache/iceberg/FieldStats.java Outdated
/**
* Returns whether the file's stats are tight, or null if unknown.
*/
default Boolean tightStats() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the reason for adding v4-specific things to v1-v3 APIs?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ContentFile is still the engine-facing API in v4 as well, since TrackedFile family is internal. So don't we need a way to expose this during reads and writes?

@anoopj
anoopj requested a review from nastra October 22, 2026 16:47
@anoopj
anoopj force-pushed the v4-tight-stats-impl branch from baa75de to b83e1df Compare October 22, 2026 17:16

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants