Skip to content

Commit

Permalink
[Flink] fix GBK streaming with side input
Browse files Browse the repository at this point in the history
  • Loading branch information
jto committed Nov 6, 2024
1 parent 687113a commit 80a7e22
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,9 @@ public final void processElement2(StreamRecord<RawUnionValue> streamRecord) thro
WindowedValue<InputT> element = it.next();
// we need to set the correct key in case the operator is
// a (keyed) window operator
setKeyContextElement1(new StreamRecord<>(element));
if (keySelector != null) {
setCurrentKey(keySelector.getKey(element));
}

Iterable<WindowedValue<InputT>> justPushedBack =
pushbackDoFnRunner.processElementInReadyWindows(element);
Expand Down

0 comments on commit 80a7e22

Please sign in to comment.