danny0405 commented on code in PR #6312:
URL: https://github.com/apache/hudi/pull/6312#discussion_r939867478
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/HoodieTableSink.java:
##########
@@ -69,24 +69,25 @@ public SinkRuntimeProvider getSinkRuntimeProvider(Context
context) {
RowType rowType = (RowType)
schema.toSinkRowDataType().notNull().getLogicalType();
+ // default parallelism
+ int parallelism = dataStream.getExecutionConfig().getParallelism();
+
Review Comment:
Can we just overwrite the parallelism of write/compaction/clustering tasks
so that there is no need to pass around the default parallelism for each method.
--
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]