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 2021/10/22 01:54:55 UTC
[GitHub] [hudi] mincwang commented on a change in pull request #3842: [MINOR] Show source table operator details on the flink web when reading hudi table
mincwang commented on a change in pull request #3842:
URL: https://github.com/apache/hudi/pull/3842#discussion_r734175459
##########
File path: hudi-flink/src/main/java/org/apache/hudi/table/HoodieTableSource.java
##########
@@ -180,15 +180,17 @@ public boolean isBounded() {
conf, FilePathUtils.toFlinkPath(path), maxCompactionMemoryInBytes, getRequiredPartitionPaths());
InputFormat<RowData, ?> inputFormat = getInputFormat(true);
OneInputStreamOperatorFactory<MergeOnReadInputSplit, RowData> factory = StreamReadOperator.factory((MergeOnReadInputFormat) inputFormat);
- SingleOutputStreamOperator<RowData> source = execEnv.addSource(monitoringFunction, "split_monitor")
+ SingleOutputStreamOperator<RowData> source = execEnv.addSource(monitoringFunction,
+ "split_monitor(table=[" + conf.getString(FlinkOptions.TABLE_NAME) + "], fields=" + schema.getColumnNames() + ")")
Review comment:
ok,i think it‘s a good 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