danny0405 commented on code in PR #5889:
URL: https://github.com/apache/hudi/pull/5889#discussion_r898998291


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/utils/Pipelines.java:
##########
@@ -249,6 +249,7 @@ private static DataStream<HoodieRecord> streamBootstrap(
 
     if (conf.getBoolean(FlinkOptions.INDEX_BOOTSTRAP_ENABLED) || bounded) {
       dataStream1 = dataStream1
+          .keyBy(HoodieRecord::getRecordKey)
           .transform(

Review Comment:
   Why shuffle the input by primary keys here ? We already shuffle the output 
of bootstrap operators by primary keys.



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