mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
support nut deduplication
This commit is contained in:
@@ -911,6 +911,9 @@ public class SQLExprParser extends SQLParser {
|
||||
} else if (lexer.token() == Token.DISTINCT) {
|
||||
aggregateExpr = new SQLAggregateExpr(methodName, SQLAggregateOption.DISTINCT);
|
||||
lexer.nextToken();
|
||||
} else if (identifierEquals("DEDUPLICATION")) { //just for nut
|
||||
aggregateExpr = new SQLAggregateExpr(methodName, SQLAggregateOption.DEDUPLICATION);
|
||||
lexer.nextToken();
|
||||
} else {
|
||||
aggregateExpr = new SQLAggregateExpr(methodName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user