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
Describe the bug Attempting to parse SQL Select containing PostgreSQL all operator with (subquery)
To Reproduce Steps to reproduce the behavior:
SELECT * FROM table t0 WHERE t0.id != all(?::uuid[]);
Statement statement = CCJSqlParserUtil.parse(sql);
Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "!=" <OP_NOTEQUALSBANG> at line 1, column 465. Was expecting one of: "&" "&&" "::" ";" "<<" ">>" "AND" "COLLATE" "CONNECT" "EXCEPT" "FOR" "GROUP" "HAVING" "INTERSECT" "MINUS" "OR" "ORDER" "START" "UNION" "[" "^" "|" <EOF> at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:26538) ~[jsqlparser-4.0.jar:?] at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:26377) ~[jsqlparser-4.0.jar:?] at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:91) ~[jsqlparser-4.0.jar:?] at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:163) ~[jsqlparser-4.0.jar:?]
Expected behavior Parsing of sql
System
The text was updated successfully, but these errors were encountered:
JSqlParser should accept this all as a function name. I think this is a keyword collision. I will look into it.
all
Sorry, something went wrong.
Sorry. It took a while.
1a9173f
No branches or pull requests
Describe the bug
Attempting to parse SQL Select containing PostgreSQL all operator with (subquery)
To Reproduce
Steps to reproduce the behavior:
SELECT * FROM table t0 WHERE t0.id != all(?::uuid[]);
Statement statement = CCJSqlParserUtil.parse(sql);
Expected behavior
Parsing of sql
System
The text was updated successfully, but these errors were encountered: