Skip to content

Core: Refresh metadata table schemas and specs after table evolution - #17815

Open
yangshangqing95 wants to merge 1 commit into
apache:mainfrom
yangshangqing95:fix/meta-tables-can-not-refresh
Open

Core: Refresh metadata table schemas and specs after table evolution#17815
yangshangqing95 wants to merge 1 commit into
apache:mainfrom
yangshangqing95:fix/meta-tables-can-not-refresh

Conversation

@yangshangqing95

Copy link
Copy Markdown
Contributor

Summary

PartitionsTable and PositionDeletesTable cache schemas and partition specs at construction time. After the base table evolves and the metadata table is refreshed, long-lived instances may continue exposing stale partition fields, row schemas, and specs.

This change derives those values from the current table metadata and ensures partition rows use the schema captured by the scan.

Tests

Tests cover partition spec evolution, base table schema evolution, and partition row materialization after refresh.

@github-actions github-actions Bot added the core label Aug 25, 2026
@yangshangqing95
yangshangqing95 marked this pull request as draft August 25, 2026 21:09
@yangshangqing95
yangshangqing95 force-pushed the fix/meta-tables-can-not-refresh branch from f7c8207 to 0736d70 Compare August 25, 2026 21:41
@yangshangqing95
yangshangqing95 marked this pull request as ready for review August 25, 2026 21:41
@yangshangqing95
yangshangqing95 force-pushed the fix/meta-tables-can-not-refresh branch 2 times, most recently from 422115d to d9d5e1b Compare August 26, 2026 14:02
@yangshangqing95
yangshangqing95 force-pushed the fix/meta-tables-can-not-refresh branch from d9d5e1b to 47d5672 Compare August 27, 2026 18:37
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