YiwenWu commented on code in PR #3802:
URL: https://github.com/apache/calcite/pull/3802#discussion_r1623163032


##########
core/src/main/java/org/apache/calcite/sql/validate/DelegatingScope.java:
##########
@@ -297,8 +298,17 @@ protected void addColumnNames(
         namespace = map.get(tableName).namespace;
         break;
       default:
-        throw validator.newValidationError(identifier,
-            RESOURCE.columnAmbiguous(columnName));
+        // Allow if all namespaces are the same and the tables are not null

Review Comment:
   I think that when this PR https://github.com/apache/calcite/pull/3797 is 
merged, the column ambiguous problem will be solved, so no changes are needed 
here.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@calcite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to