Skip to content

Fix SQLParsingException when using reserved word order in ORDER BY clause#37958

Merged
strongduanmu merged 4 commits intoapache:masterfrom
ClaireLytt:mysql
Feb 5, 2026
Merged

Fix SQLParsingException when using reserved word order in ORDER BY clause#37958
strongduanmu merged 4 commits intoapache:masterfrom
ClaireLytt:mysql

Conversation

@ClaireLytt
Copy link
Contributor

@ClaireLytt ClaireLytt commented Feb 4, 2026

Fixes #25488.

I noticed bug in mysql have fixed,but other databases,like'Hive,Doris,SQLServer,Firebird,SQL92,Presto' still have the same bug.

Changes proposed in this pull request:


Before committing this PR, I'm sure that I have checked the following options:

  • My code follows the code of conduct of this project.
  • I have self-reviewed the commit code.
  • I have (or in comment I request) added corresponding labels for the pull request.
  • I have passed maven check locally : ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e.
  • I have made corresponding changes to the documentation.
  • I have added corresponding unit tests for my changes.
  • I have updated the Release Notes of the current development version. For more details, see Update Release Note

Copy link
Member

@strongduanmu strongduanmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, merged.

@strongduanmu strongduanmu merged commit 3c478b2 into apache:master Feb 5, 2026
148 checks passed
@strongduanmu strongduanmu added this to the 5.5.3 milestone Feb 5, 2026
@ClaireLytt ClaireLytt deleted the mysql branch February 5, 2026 01:31
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.

SQLParsingException: no viable alternative at input

2 participants