db2 sql parser support hierarchical.

This commit is contained in:
wenshao
2017-04-24 17:52:40 +08:00
parent ff7a6ee52e
commit 7f75fb3eb9
4 changed files with 100 additions and 10 deletions
@@ -1089,6 +1089,8 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
where.accept(this);
}
printHierarchical(x);
if (x.getGroupBy() != null) {
println();
x.getGroupBy().accept(this);