You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/05/31 02:33:15 UTC

[GitHub] [hudi] yanenze commented on a diff in pull request #5661: [HUDI-4139] improvement for flink sink operators so we can easily identify the table which write to hudi

yanenze commented on code in PR #5661:
URL: https://github.com/apache/hudi/pull/5661#discussion_r885156736


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/utils/Pipelines.java:
##########
@@ -137,7 +137,7 @@ public static DataStreamSink<Object> bulkInsert(Configuration conf, RowType rowT
         SortOperatorGen sortOperatorGen = new SortOperatorGen(rowType, partitionFields);
         // sort by partition keys
         dataStream = dataStream
-            .transform("partition_key_sorter",
+            .transform("partition_key_sorter" + ":" + conf.getString(FlinkOptions.TABLE_NAME),
                 TypeInformation.of(RowData.class),

Review Comment:
   right , i will try to amend it with your suggestion
   



-- 
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-unsubscribe@hudi.apache.org

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