Merge pull request #4854 from Molu-lzk/ck_cluster_view

clickhouse cluster view 语法解析错误
This commit is contained in:
温绍锦
2022-09-10 19:49:11 +08:00
committed by GitHub
@@ -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++;