mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge pull request #4854 from Molu-lzk/ck_cluster_view
clickhouse cluster view 语法解析错误
This commit is contained in:
@@ -2316,6 +2316,12 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
visit(subQuery);
|
||||
this.indentCount--;
|
||||
println();
|
||||
} else if (parent instanceof SQLMethodInvokeExpr) {
|
||||
this.indentCount++;
|
||||
println();
|
||||
visit(subQuery);
|
||||
this.indentCount--;
|
||||
println();
|
||||
} else {
|
||||
print('(');
|
||||
this.indentCount++;
|
||||
|
||||
Reference in New Issue
Block a user