Skip to content

docs: clarify nested ColumnChunk Statistics semantics (#476) - #650

Draft
YidaWeng wants to merge 1 commit into
apache:masterfrom
YidaWeng:docs/nested-columnchunk-statistics
Draft

YidaWeng wants to merge 1 commit into
apache:masterfrom
YidaWeng:docs/nested-columnchunk-statistics

Conversation

@YidaWeng

@YidaWeng YidaWeng commented Nov 29, 2026 •

Copy link
Copy Markdown

Summary

Documents nested ColumnChunk / Statistics semantics for #476.

  • min_value / max_value: bounds over non-null leaf values
  • null_count: samples with definition_level < max_definition_level (leaf or ancestor nulls); not a per-level breakdown
  • Point to SizeStatistics.definition_level_histogram for per-level analysis
  • Short README example matching the issue ([1,2,3] + null → null_count = 1)

Verification

  • mvn package -DskipTests with Thrift 0.25.0 succeeds (comment-only thrift change).

Discussion

Proposed wording posted on the issue for committer confirmation before treating as final:
#476 (comment)

Draft until maintainers confirm the definition_level < max phrasing for null_count.

Closes #476

Document that min/max are leaf-value bounds while null_count aggregates
definition levels below the max (leaf and ancestor nulls). Point readers
at SizeStatistics histograms for per-level breakdowns, with a short
README example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document the behavior of Nested ColumnChunk statistics

1 participant