mihaibudiu commented on code in PR #4430:
URL: https://github.com/apache/calcite/pull/4430#discussion_r2160195302


##########
core/src/main/java/org/apache/calcite/sql2rel/RelFieldTrimmer.java:
##########
@@ -529,9 +529,6 @@ private boolean inputContainsSubQueryTables(Project 
project, RelNode input) {
 
     Set<List<String>> subQueryTables = inputSubQueryTablesCollector.tables();
 
-    assert subQueryTables.isEmpty() || subQueryTables.size() == 1

Review Comment:
   Frankly I don't know why a subquery should have a single table.
   But perhaps this assert is protecting some other operations which will go 
wrong when they do. 
   



-- 
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]

Reply via email to