YiwenWu commented on code in PR #3802:
URL: https://github.com/apache/calcite/pull/3802#discussion_r1626817381
##########
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:
Without this modification, verified that the two examples of unit tests can
also be executed successfully.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]