improved sql parser.

This commit is contained in:
wenshao
2017-11-02 15:44:46 +08:00
parent 434bfe7140
commit b301168031
3 changed files with 158 additions and 2 deletions
@@ -1403,7 +1403,9 @@ public class SQLExprParser extends SQLParser {
exprList(aggregateExpr.getArguments(), aggregateExpr);
parseAggregateExprRest(aggregateExpr);
if (lexer.token != Token.RPAREN) {
parseAggregateExprRest(aggregateExpr);
}
accept(Token.RPAREN);