Skip to content

Core: Drop stale path avg sizes in rewrite_table_path - #17856

Draft
huan233usc wants to merge 1 commit into
apache:mainfrom
huan233usc:rewrite-path-avg-value-sizes
Draft

Core: Drop stale path avg sizes in rewrite_table_path#17856
huan233usc wants to merge 1 commit into
apache:mainfrom
huan233usc:rewrite-path-avg-value-sizes

Conversation

@huan233usc

@huan233uschuan233usc commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #17451. rewrite_table_path kept a stale average for the position-delete file_path column after rewriting that path.

Remove the file_path average value size when rewriting position-delete path bounds, preserve unrelated averages, and normalize an empty result to null.

Test plan

  • ./gradlew :iceberg-core:test --tests org.apache.iceberg.TestRewriteTablePathUtil
  • ./gradlew :iceberg-core:spotlessCheck

AI Disclosure

Remove the position-delete file_path average when rewriting path bounds, keep unrelated averages, and normalize an empty map to null.
Generated-by: Cursor
Sign up for freeto 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

@huan233usc