tejasiyer-dev opened a new pull request, #41850:
URL: https://github.com/apache/beam/pull/41850

   Depends on #41593. Follow-up to #41468, split out of #41593 per review 
feedback.
   ### Summary
   - Update `BundleLiftDoFn#finishBundle` to accept 
`DoFn.WindowedMultiOutputReceiver` instead of `FinishBundleContext` and reuse 
`emit(buffer, small)` so buffered elements flushed to `smallBatchTag` at bundle 
end preserve their original `PaneInfo` (instead of dropping it to `NO_FIRING`).
   - Widen `BundleLiftDoFn#emit` to accept `WindowedOutputReceiver<T>` so it 
can be shared between `@ProcessElement` (`OutputReceiver<T>`) and 
`@FinishBundle` (`WindowedOutputReceiver<T>`).
   - Update `BundleLifter` class Javadoc to state that every element preserves 
its timestamp, window, and pane.
   - Add 
`BundleLifterTest#testPreservesPaneInfoInProcessElementAndFinishBundle` 
verifying non-default `PaneInfo`, timestamps, and `IntervalWindow`s are 
preserved for elements emitted in both `@ProcessElement` and `@FinishBundle`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to