mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
odps sql parser support lateral view & bug fixed for issue 1049
This commit is contained in:
@@ -389,10 +389,9 @@ public class SQLExprParser extends SQLParser {
|
||||
SQLExpr notTarget = expr();
|
||||
|
||||
accept(Token.RPAREN);
|
||||
notTarget = exprRest(notTarget);
|
||||
|
||||
notTarget = relationalRest(notTarget);
|
||||
sqlExpr = new SQLNotExpr(notTarget);
|
||||
|
||||
|
||||
return primaryRest(sqlExpr);
|
||||
} else {
|
||||
SQLExpr restExpr = relational();
|
||||
|
||||
Reference in New Issue
Block a user