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

   Follow-up from #41468.
   
   ### Summary
   
   Allows pass-through and buffering `DoFn`s (e.g. `BundleLifter`) to consume 
`WindowedValue<InputT>` directly in `@ProcessElement` and emit 
`WindowedValue<T>` directly via `OutputReceiver` and `FinishBundleContext`, 
preserving all `WindowedValue` metadata.
   
   ### Changes
   - **Output (`DoFn`):** Added 
`OutputReceiver.outputWindowedValue(WindowedValue<T>)` and 
`FinishBundleContext.outputWindowedValue(...)` (main & tagged outputs), 
implemented in `SimpleDoFnRunner`, `FnApiDoFnRunner`, `DoFnTester`, and 
`AsyncWrapper`.
   - **Input (`@ProcessElement`):** Added `WindowedValue<InputT>` parameter 
support across `DoFnSignature`/`DoFnSignatures`, `DoFnInvoker`, 
`ByteBuddyDoFnInvokerFactory`, and runner/test `ArgumentProvider`s (scoping 
multi-window elements to `currentWindow` when window-observing in 
`FnApiDoFnRunner`).
   
   ### Testing
   - Added unit and runner tests in `DoFnSignaturesTest`, `DoFnTesterTest`, 
`SimpleDoFnRunnerTest`, and `FnApiDoFnRunnerTest`.
   
   
   


-- 
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