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
String sql2 = "select * from a order by convert(a.name using gbk) desc"; CCJSqlParserUtil.parse(sql2);
above code throws an exception:
Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "(" "( "" at line 1, column 33. Was expecting one of: <EOF> "ASC" ... "DESC" ... "FOR" ... "UNION" ... "ORDER" ... "INTERSECT" ... "EXCEPT" ... "MINUS" ... "NULLS" ... ";" ... "," ... "|" ... "&" ... "^" ... "::" ... at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:16395)
I hope jsqlparse can support order by convert(column using charset) desc/asc
order by convert(column using charset) desc/asc
The text was updated successfully, but these errors were encountered:
JSqlParser does not (yet) support functions with nonstandard parameters, like f(a in b) or yours f(a using b).
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Actual Behavior
above code throws an exception:
Expected Behavior
I hope jsqlparse can support
order by convert(column using charset) desc/asc
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: