bug fixed for issue #2658

This commit is contained in:
wenshao
2018-07-16 14:44:56 +08:00
parent 00a9b92ca1
commit 6572e9a20c
6 changed files with 59 additions and 2 deletions
@@ -1445,14 +1445,21 @@ public class SQLExprParser extends SQLParser {
accept(Token.RPAREN);
if (lexer.identifierEquals(FnvHash.Constants.FILTER)) {
filter(aggregateExpr);
}
if (lexer.token == Token.OVER) {
over(aggregateExpr);
}
return aggregateExpr;
}
protected void filter(SQLAggregateExpr aggregateExpr) {
}
protected void over(SQLAggregateExpr aggregateExpr) {
lexer.nextToken();