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


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/HoodieTableSource.java:
##########
@@ -188,9 +188,11 @@ public DataStream<RowData> 
produceDataStream(StreamExecutionEnvironment execEnv)
           InputFormat<RowData, ?> inputFormat = getInputFormat(true);
           OneInputStreamOperatorFactory<MergeOnReadInputSplit, RowData> 
factory = StreamReadOperator.factory((MergeOnReadInputFormat) inputFormat);
           SingleOutputStreamOperator<RowData> source = 
execEnv.addSource(monitoringFunction, getSourceOperatorName("split_monitor"))
+              .uid("uid_split_monitor_" + 
conf.getString(FlinkOptions.TABLE_NAME))
               .setParallelism(1)
               .keyBy(MergeOnReadInputSplit::getFileId)
               .transform("split_reader", typeInfo, factory)
+              .uid("uid_split_reader_" + 
conf.getString(FlinkOptions.TABLE_NAME))
               .setParallelism(conf.getInteger(FlinkOptions.READ_TASKS));
           return new DataStreamSource<>(source);

Review Comment:
   Did you notice that i have pasted a patch under the comments, you can apply 
the patch with command:
   ```java
   git apply xxx.patch
   ```



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