mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved postgresql parser, fix #4221
This commit is contained in:
@@ -1584,6 +1584,9 @@ public class SQLExprParser extends SQLParser {
|
||||
aggregateExpr.setOption(SQLAggregateOption.DISTINCT);
|
||||
}
|
||||
|
||||
if (lexer.token == Token.COLONCOLON) {
|
||||
return primaryRest(aggregateExpr);
|
||||
}
|
||||
|
||||
return aggregateExpr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user