sql parser improved db2 support

This commit is contained in:
高铁
2016-03-18 16:34:02 +08:00
parent 793658499e
commit bf1ad5da0c
5 changed files with 122 additions and 0 deletions
@@ -1632,9 +1632,16 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Printab
printAndAccept(x.getPartitionBy(), ", ");
print(' ');
}
if (x.getOrderBy() != null) {
x.getOrderBy().accept(this);
}
if (x.getOf() != null) {
print0(ucase ? " OF " : " of ");
x.getOf().accept(this);
}
print(')');
return false;
}