Skip to content

Core: Fix NPE and deep copy bug in stats - #18060

Open
nastra wants to merge 1 commit into
apache:mainfrom
nastra:geo-fixes
Open

Core: Fix NPE and deep copy bug in stats#18060
nastra wants to merge 1 commit into
apache:mainfrom
nastra:geo-fixes

Conversation

@nastra

@nastra nastra commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

This is pulled out of #17433 and fixes two issues:

  • ContentStatsStruct.copy() threw an NPE when a projected column had no stats
  • FieldStatsStruct copied StructLike bounds by reference. Bounds are now deep-copied through StructLikeUtil.copy, and StructCopy is made Serializable so that a copied bound still survives serialization

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant