damccorm opened a new issue, #17933: URL: https://github.com/apache/beam/issues/17933
Sometimes the kind of computations one wants to perform in startBundle depend on side inputs (and, implicitly, the window). For example, one might want to initialize a (non-serializable) stateful object. In particular, this leads to users incorrectly (in the case of triggered or non-globally-windowed side inputs) memoizing this computation in the first processElement call. One option would be to fold this into a customizable ViewFn. Imported from Jira [BEAM-1002](https://issues.apache.org/jira/browse/BEAM-1002). Original Jira may contain additional context. Reported by: robertwb. -- 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]
