danny0405 commented on code in PR #5661:
URL: https://github.com/apache/hudi/pull/5661#discussion_r885153742
##########
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:
Maybe only the write op with table name is enough, for e.g
- bucket_bulk_insert
- hoodie_bulk_insert_write
- hoodie_append_write
- bucket_write
- stream_write
And we can extract a common util method here like
`writeOpIdentifier(String, Configuration)`
for generating operator name with table suffix.
--
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]