mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
sql parser improved db2 support
This commit is contained in:
@@ -1036,6 +1036,12 @@ public class SQLExprParser extends SQLParser {
|
||||
}
|
||||
|
||||
over.setOrderBy(parseOrderBy());
|
||||
|
||||
if (lexer.token() == Token.OF) {
|
||||
lexer.nextToken();
|
||||
SQLExpr of = this.expr();
|
||||
over.setOf(of);
|
||||
}
|
||||
|
||||
accept(Token.RPAREN);
|
||||
aggregateExpr.setOver(over);
|
||||
|
||||
Reference in New Issue
Block a user