Skip to content

[server][bug] Fix OOB in partial update/delete after ADD COLUMN#3000

Open
fresh-borzoni wants to merge 1 commit intoapache:mainfrom
fresh-borzoni:fix-partial-update-schema-evolution
Open

[server][bug] Fix OOB in partial update/delete after ADD COLUMN#3000
fresh-borzoni wants to merge 1 commit intoapache:mainfrom
fresh-borzoni:fix-partial-update-schema-evolution

Conversation

@fresh-borzoni
Copy link
Copy Markdown
Contributor

Summary

closes #2988

When a table has partial updates enabled and ADD COLUMN is performed, reading old rows from RocksDB with fewer fields than the latest schema causes ArrayIndexOutOfBoundsException in PartialUpdater.

Fix by treating missing fields as null

@fresh-borzoni
Copy link
Copy Markdown
Contributor Author

@wuchong @polyzos PTAL 🙏

@fresh-borzoni fresh-borzoni force-pushed the fix-partial-update-schema-evolution branch from 3b7f793 to 72104f8 Compare April 4, 2026 15:30
@fresh-borzoni fresh-borzoni force-pushed the fix-partial-update-schema-evolution branch from 72104f8 to cd6d329 Compare April 4, 2026 15:48
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.

ArrayIndexOutOfBoundsException in partial updates after ADD COLUMN

1 participant