xishuaidelin commented on code in PR #26616:
URL: https://github.com/apache/flink/pull/26616#discussion_r2122906049


##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/nodes/exec/stream/StreamExecLookupJoin.java:
##########
@@ -294,4 +355,47 @@ protected Transformation<RowData> 
createSyncLookupJoinWithState(
         transform.setStateKeyType(keySelector.getProducedType());
         return transform;
     }
+
+    private RowDataKeySelector getKeySelector(
+            boolean singleParallelism, int[] keys, ClassLoader classLoader, 
RowType inputRowType) {
+        RowDataKeySelector keySelector;
+        if (singleParallelism) {
+            keySelector = EmptyRowDataKeySelector.INSTANCE;
+        } else {
+            // make it a deterministic asc order
+            Arrays.sort(keys);

Review Comment:
   They are the index of upsertKey.



-- 
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: issues-unsubscr...@flink.apache.org

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

Reply via email to