Skip to content

[BugFix] Add variant to non reserved keywords#72356

Merged
alvin-phoenix-ai merged 1 commit into
StarRocks:mainfrom
kyle-goodale-klaviyo:fix-variant-non-reserved
Apr 29, 2026
Merged

[BugFix] Add variant to non reserved keywords#72356
alvin-phoenix-ai merged 1 commit into
StarRocks:mainfrom
kyle-goodale-klaviyo:fix-variant-non-reserved

Conversation

@kyle-goodale-klaviyo

Copy link
Copy Markdown
Contributor

Why I'm doing:

The new Variant type is not listed as a non reserved keyword like all the other type keywords. Because of this, we were encountering parsing errors when materialized views ran that had a struct field named Variant. This issue persisted in created materialized views and surfaced when they ran not on creation. The issue remained even when we escaped the word variant with backticks.

What I'm doing:

This PR adds variant as a non-reserved keyword. This fixed the issue for us.

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Does this PR entail a change in behavior?

  • Yes, this PR will result in a change in behavior.
  • No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • Parameter changes: default values, similar parameters but with different default values
  • Policy changes: use new policy to replace old one, functionality automatically enabled
  • Feature removed
  • Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr needs user documentation (for new or modified features or behaviors)
    • I have added documentation for my new feature or new function
    • This pr needs auto generate documentation
  • This is a backport pr

Bugfix cherry-pick branch check:

  • I have checked the version labels which the pr will be auto-backported to the target branch
    • 4.1
    • 4.0
    • 3.5
    • 3.4

Signed-off-by: kyle-goodale-klaviyo <kyle.goodale@klaviyo.com>
@kyle-goodale-klaviyo kyle-goodale-klaviyo changed the title Fix: Add variant to non reserved keywords BugFix: Add variant to non reserved keywords Apr 29, 2026
@kyle-goodale-klaviyo kyle-goodale-klaviyo changed the title BugFix: Add variant to non reserved keywords [BugFix] Add variant to non reserved keywords Apr 29, 2026
@CelerData-Reviewer

Copy link
Copy Markdown

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

Copy link
Copy Markdown
Contributor

[Java-Extensions Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions

Copy link
Copy Markdown
Contributor

[FE Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions

Copy link
Copy Markdown
Contributor

[BE Incremental Coverage Report]

pass : 0 / 0 (0%)

@alvin-phoenix-ai alvin-phoenix-ai merged commit d2b094b into StarRocks:main Apr 29, 2026
91 of 94 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@Mergifyio backport branch-4.1

@github-actions github-actions Bot removed the 4.1 label Apr 29, 2026
@mergify

mergify Bot commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

backport branch-4.1

✅ Backports have been created

Details

wanpengfei-git pushed a commit that referenced this pull request Apr 29, 2026
Signed-off-by: kyle-goodale-klaviyo <kyle.goodale@klaviyo.com>
Co-authored-by: kyle-goodale-klaviyo <kyle.goodale@klaviyo.com>
Hyper-FF pushed a commit to Hyper-FF/starrocks that referenced this pull request Apr 30, 2026
Signed-off-by: kyle-goodale-klaviyo <kyle.goodale@klaviyo.com>
robd003 pushed a commit to robd003/starrocks that referenced this pull request May 6, 2026
Signed-off-by: kyle-goodale-klaviyo <kyle.goodale@klaviyo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants