bug fixed for mysql connection validation checker, and improved odps sql formatter

This commit is contained in:
高铁
2015-09-07 11:28:16 +08:00
parent 961ae42433
commit 820e9f3581
20 changed files with 314 additions and 51 deletions
@@ -736,6 +736,10 @@ public class SchemaStatVisitor extends SQLASTVisitorAdapter {
if (selectList != null) {
for (SQLSelectItem item : selectList) {
if (!item.getClass().equals(SQLSelectItem.class)) {
continue;
}
String itemAlias = item.getAlias();
SQLExpr itemExpr = item.getExpr();
if (itemAlias == null) {