seawinde commented on code in PR #27059:
URL: https://github.com/apache/doris/pull/27059#discussion_r1403067285


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/util/ExpressionUtils.java:
##########
@@ -196,6 +199,26 @@ public static Expression combine(Class<? extends 
Expression> type, Collection<Ex
                 .orElse(BooleanLiteral.of(type == And.class));
     }
 
+    // Replace the slot in expression with the lineage identifier from 
specified
+    // baseTable sets or target table types
+    // example as following:
+    // select a + 10 as a1, d from (
+    //     select b - 5 as a, d from table
+    // );
+    // after shuttle a1 and d is [b - 5 + 10, d]
+    public static List<? extends Expression> 
shuttleExpressionWithLineage(List<? extends Expression> expression,
+            Plan plan,
+            Set<TableType> targetTypes,
+            Set<String> tableIdentifiers) {
+        return ImmutableList.of();
+    }
+
+    // Replace the slot in expressions according to the slotMapping
+    // if any slot cannot be mapped then return null
+    public static List<? extends Expression> permute(List<? extends 
Expression> expressions, SlotMapping slotMapping) {

Review Comment:
   have fixed it.



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to