Repository navigation
Conversation
taoran92
marked this pull request as ready for review
November 28, 2026 15:15
taoran92
force-pushed
the
fix/sequence-group-column-rename
branch
from
November 29, 2026 13:24
c5f0c69 to
6ab1ec5
Compare
taoran92
marked this pull request as draft
November 29, 2026 13:55
taoran92
force-pushed
the
fix/sequence-group-column-rename
branch
from
November 29, 2026 14:39
6ab1ec5 to
acfea88
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Closes #1559
On a partial-update table with columns
channeland" channel ", a single group defined asfields.ts.sequence-group=' channel 'protectschannel. Renaming" channel "toauxcan move that protection toaux, allowing an older update to overwritechannel. A successful rename should preserve which columns the group orders and protects.Brief change log
btocin the protected lista, bstoresa,c. Apply the same rule to ordering columns and their sort-order option keys.Tests
cargo test --locked -p paimon --lib spec::— 738 passed.cargo test --locked -p paimon-datafusion --test sql_context_tests— 87 passed.cargo fmt --all -- --checkpassed.API and Format
The change affects validation and rewriting of table options during
RENAME COLUMN. It uses the existing public API and schema format.Documentation
This corrects the behavior of the existing
RENAME COLUMNoperation.