Skip to content

fix(schema): reject moves involving missing fields - #1178

Open
WZhuo wants to merge 1 commit into
apache:mainfrom
WZhuo:fix/schema-move-missing-fields
Open

WZhuo wants to merge 1 commit into
apache:mainfrom
WZhuo:fix/schema-move-missing-fields

Conversation

@WZhuo

@WZhuo WZhuo commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Return a validation error when the column being moved or its reference column is missing from the schema being updated. This prevents a move combined with deletion of its reference column from silently dropping the moved column.
  • Add one regression test covering deletion of the moved column and deletion of the reference column for both MoveBefore and MoveAfter.

Testing

  • pre-commit run
  • ctest --test-dir build -R '^table_update_test$' --output-on-failure

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant