mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -1649,6 +1649,10 @@ class SchemaResolveVisitorFactory {
|
||||
|
||||
if (ctxTable instanceof SQLJoinTableSource) {
|
||||
String alias = tableSource.computeAlias();
|
||||
if (alias == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
SQLPropertyExpr propertyExpr = new SQLPropertyExpr(new SQLIdentifierExpr(alias), ident, hash);
|
||||
propertyExpr.setResolvedColumn(x.getResolvedColumn());
|
||||
propertyExpr.setResolvedTableSource(x.getResolvedTableSource());
|
||||
|
||||
Reference in New Issue
Block a user