Skip to content

Commit c77746d

Browse files
committed
Fix minus
1 parent 049c1fa commit c77746d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/sink/CommitterOperator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ public void initializeState(StateInitializationContext context) throws Exception
130130
StateUtils.getSingleValueFromState(
131131
context, "commit_user_state", String.class, initialCommitUser);
132132
// parallelism of commit operator is always 1, so commitUser will never be null
133-
int index = getRuntimeContext().getTaskInfo().getIndexOfThisSubtask();
134133
int parallelism = getRuntimeContext().getTaskInfo().getNumberOfParallelSubtasks();
134+
int index = getRuntimeContext().getTaskInfo().getIndexOfThisSubtask();
135135

136136
committer =
137137
committerFactory.create(

0 commit comments

Comments
 (0)