[ 
https://issues.apache.org/jira/browse/BEAM-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546032#comment-17546032
 ] 

Danny McCormick commented on BEAM-1002:
---------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/17933

> Enable caching of side-input dependent computations
> ---------------------------------------------------
>
>                 Key: BEAM-1002
>                 URL: https://issues.apache.org/jira/browse/BEAM-1002
>             Project: Beam
>          Issue Type: New Feature
>          Components: beam-model
>            Reporter: Robert Bradshaw
>            Priority: P3
>
> 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. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to