Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
leaves12138 committed Apr 19, 2024
1 parent ad18c74 commit fc79873
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ public void initializeState(StateInitializationContext context) throws Exception
super.initializeState(context);

Preconditions.checkArgument(
!forceSingleParallelism
|| getRuntimeContext().getTaskInfo().getNumberOfParallelSubtasks() == 1,
!forceSingleParallelism || getRuntimeContext().getNumberOfParallelSubtasks() == 1,
"Committer Operator parallelism in paimon MUST be one.");

this.currentWatermark = Long.MIN_VALUE;
Expand Down

0 comments on commit fc79873

Please sign in to comment.