Skip to content

Commit

Permalink
fix sink.parallelism not work
Browse files Browse the repository at this point in the history
  • Loading branch information
wxplovecc committed May 6, 2024
1 parent 07df344 commit e6ad289
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public SingleOutputStreamOperator<Committable> doWrite(
conf.get(ExecutionOptions.RUNTIME_MODE) == RuntimeExecutionMode.STREAMING;

// partitioner parallelism
Integer calParallelism = input.getParallelism();
Integer calParallelism = parallelism == null ? input.getParallelism() : parallelism;
if (table.options().get(FlinkConnectorOptions.SINK_PARALLELISM.key()) == null) {
// batch and with writeManifestCache
if (!isStreaming && table.coreOptions().writeManifestCache().getMebiBytes() > 0) {
Expand Down

0 comments on commit e6ad289

Please sign in to comment.