mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
support mysql group_concat
This commit is contained in:
@@ -511,6 +511,9 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter {
|
||||
}
|
||||
|
||||
printAndAccept(x.getArguments(), ", ");
|
||||
|
||||
visitAggreateRest(x);
|
||||
|
||||
print(")");
|
||||
|
||||
if (x.getOver() != null) {
|
||||
@@ -519,6 +522,10 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
protected void visitAggreateRest(SQLAggregateExpr aggregateExpr) {
|
||||
|
||||
}
|
||||
|
||||
public boolean visit(SQLAllColumnExpr x) {
|
||||
print("*");
|
||||
|
||||
Reference in New Issue
Block a user