-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] JSQLParser Version 4.5: RDBMS : "Encountered unexpected token: "SELECT" <K_SELECT> at line 11, column 1." #1798
Comments
Greetings! This has been fixed in PR #1778 which will be released as JSQLParser 5 soonest. The AST will look like this:
|
many thanks! It works |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Always check against the Latest SNAPSHOT of JSQLParser and the Syntax Diagram
Failing SQL Feature:
"Encountered unexpected token: "SELECT" <K_SELECT> at line 11, column 1"
SQL Example:
SELECT C1, SUM(N) AS N FROM ( ( SELECT C1, SUM(N) AS N FROM T1 GROUP BY C1 ) UNION ALL SELECT C1, 0 AS N FROM T2 ) GROUP BY C1
Software Information:
Tips:
Query is very bad but works on Oracle DB. Line 11 is the "UNION ALL" SQL command.
The text was updated successfully, but these errors were encountered: