caicancai commented on code in PR #4840:
URL: https://github.com/apache/calcite/pull/4840#discussion_r2988132421


##########
core/src/main/java/org/apache/calcite/plan/RelOptUtil.java:
##########
@@ -4818,22 +4838,55 @@ public RexInputConverter(
           null,
           leftDestFields,
           rightDestFields,
-          adjustments);
+          adjustments,
+          0,
+          null);
     }
 
     public RexInputConverter(
         RexBuilder rexBuilder,
         @Nullable List<RelDataTypeField> srcFields,
         @Nullable List<RelDataTypeField> destFields,
         int[] adjustments) {
-      this(rexBuilder, srcFields, destFields, null, null, adjustments);
+      this(rexBuilder, srcFields, destFields, null, null, adjustments, 0, 
null);
     }
 
     public RexInputConverter(
         RexBuilder rexBuilder,
         @Nullable List<RelDataTypeField> srcFields,
         int[] adjustments) {
-      this(rexBuilder, srcFields, null, null, null, adjustments);
+      this(rexBuilder, srcFields, null, null, null, adjustments,  0, null);
+    }
+
+    public RexInputConverter(
+        RexBuilder rexBuilder,
+        @Nullable List<RelDataTypeField> srcFields,
+        @Nullable List<RelDataTypeField> destFields,
+        int[] adjustments,
+        int offset,
+        RelNode child) {
+      this(rexBuilder, srcFields, destFields, null, null, adjustments, offset, 
child);
+    }
+
+    @Override public RexNode visitSubQuery(RexSubQuery subQuery) {

Review Comment:
   The code comment format here is strange.



##########
core/src/main/java/org/apache/calcite/plan/RelOptUtil.java:
##########
@@ -4784,14 +4793,23 @@ public static class RexInputConverter extends 
RexShuttle {
      * @param rightDestFields in the case where the destination is a join,
      *                        these are the fields from the right join input
      * @param adjustments     the amount to adjust each field by
+     * @param offset          the amount to shift field accesses by when
+     *                        rewriting correlated subqueries
+     * @param correlateVariableChild the child relation providing the

Review Comment:
   The code comment format here is strange.



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