vlsi commented on a change in pull request #2611:
URL: https://github.com/apache/calcite/pull/2611#discussion_r770399852



##########
File path: core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java
##########
@@ -1086,14 +1086,14 @@ private void convertWhere(
   private void replaceSubQueries(
       final Blackboard bb,
       final SqlNode expr,
-      RelOptUtil.Logic logic) {
+      RelOptUtil.Logic logic, boolean isWhere) {

Review comment:
       Do you think it makes sense to add a small `enum` instead of `boolean` 
here?
   
   It would make the usages easier to understand.
   So far almost all the usages pass `isWhere=false`, so does it make sense to 
add an overloaded method for that?




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