rubenada commented on code in PR #3480:
URL: https://github.com/apache/calcite/pull/3480#discussion_r1371279349


##########
core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:
##########
@@ -3774,6 +3791,48 @@ protected RelRoot convertQueryRecursive(SqlNode query, 
boolean top,
     }
   }
 
+  public static boolean hasATableScanWithName(RelNode root, final String 
recurTableName) {

Review Comment:
   There is a RelOptTableFinder class inside RelBuider which seems to have the 
same purpose. Currently it is private static, but perhaps it could be moved to 
another localion (RelOptUtil?) as a public element, and reuse the same code 
here and in RelBuilder.



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