improved odps sql formatter

This commit is contained in:
shaojin.wensj
2015-08-05 16:33:29 +08:00
parent c38ce08786
commit c361cd420c
3 changed files with 5 additions and 4 deletions
@@ -350,9 +350,9 @@ public class OdpsOutputVisitor extends SQLASTOutputVisitor implements OdpsASTVis
x.getRight().accept(this);
if (x.getCondition() != null) {
incrementIndent();
println();
print("ON ");
incrementIndent();
x.getCondition().accept(this);
decrementIndent();
}