Skip to content

[Cherry-pick to branch-1.3] [#14062][#14063] fix(starrocks): Quote rename column names and skip empty alter clauses (#14064) - #14134

Open
github-actions[bot] wants to merge 1 commit into
branch-1.3from
cherry-pick-3a445d88-to-branch-1.3
Open

github-actions[bot] wants to merge 1 commit into
branch-1.3from
cherry-pick-3a445d88-to-branch-1.3

Conversation

@github-actions

Copy link
Copy Markdown

Cherry-pick Information:

  • Original commit: 3a445d8
  • Target branch: branch-1.3
  • Status: ✅ Clean cherry-pick (no conflicts)

…mpty alter clauses (#14064)

### What changes were proposed in this pull request?

- Quote both column names in StarRocks rename column SQL.
- Skip empty delete column clauses, and return an empty SQL when no
change remains so no ALTER TABLE is sent.

### Why are the changes needed?

Unquoted names break renames of special or reserved column names, and an
empty `ALTER TABLE` is executed by StarRocks as a table OPTIMIZE.

Fix: #14062, #14063

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Added unit tests in `TestStarRocksTableOperationsSqlGeneration`.
@github-actions github-actions Bot added the cherry-pick Automatically opened cherry-pick PR label Oct 22, 2026
@github-actions
github-actions Bot requested a review from jerryshao October 22, 2026 05:17
@diqiu50 diqiu50 self-assigned this Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick Automatically opened cherry-pick PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant