improved SchemaStatVisitor. bug fixed for issue #2509

This commit is contained in:
wenshao
2018-04-20 09:32:13 +08:00
parent 13670a431a
commit 863ba9a053
16 changed files with 118 additions and 63 deletions
@@ -2085,9 +2085,7 @@ class SchemaResolveVisitorFactory {
SQLExpr expr = selectItem.getExpr();
if (expr instanceof SQLAllColumnExpr) {
SQLAllColumnExpr allColumnExpr = (SQLAllColumnExpr) expr;
if (from instanceof SQLExprTableSource) {
allColumnExpr.setResolvedTableSource(from);
}
allColumnExpr.setResolvedTableSource(from);
visitor.visit(allColumnExpr);