We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Feeding this SQL to the Parser:
SELECT CASE WHEN a.kol = 1 THEN 'one' ELSE a.kol END as 'case' FROM foo a;
will result in errors, and calling build() on the statement will result in this SQL:
build()
SELECT CASE 'case' ELSE a.kol AS `END` END FROM foo AS `a`
The errors array contains these errors:
errors
An alias was previously found.
An alias was expected.
Unexpected keyword.
Unexpected end of CASE expression
I encountered this problem since I upgraded from 5.8.2 to 5.9.1.
The text was updated successfully, but these errors were encountered:
Thank you for reporting this bug
Still confirmed today on 5.2.2-dev
Sorry, something went wrong.
No branches or pull requests
Feeding this SQL to the Parser:
will result in errors, and calling
build()
on the statement will result in this SQL:The
errors
array contains these errors:An alias was previously found.
An alias was expected.
Unexpected keyword.
Unexpected end of CASE expression
I encountered this problem since I upgraded from 5.8.2 to 5.9.1.
The text was updated successfully, but these errors were encountered: