Skip to content

Commit

Permalink
[FLINK-9880] Fix order in BucketerContext#update.
Browse files Browse the repository at this point in the history
  • Loading branch information
kl0u committed Jul 17, 2018
1 parent 690bc37 commit 056486a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public void invoke(IN value, Context context) throws Exception {
final int subtaskIndex = getRuntimeContext().getIndexOfThisSubtask();

// setting the values in the bucketer context
bucketerContext.update(context.timestamp(), currentProcessingTime, context.currentWatermark());
bucketerContext.update(context.timestamp(), context.currentWatermark(), currentProcessingTime);

final String bucketId = bucketer.getBucketId(value, bucketerContext);

Expand Down

0 comments on commit 056486a

Please sign in to comment.