kennknowles opened a new issue, #18716:
URL: https://github.com/apache/beam/issues/18716

   I have a CombineFn that has a large amount of state that needs to be loaded 
once before it can add_input or merge_combiners (for example, the CombineFn 
might load up a large lookup table used for combining). 
   
   Right now, to initialise this state, for each of the methods, I check if the 
state has already been initialised, and if not, I initialise it. It would be 
nice if CombineFn provided a SetUp() method that is called once to initialise 
this state (and a corresponding TearDown() method to clean up this state if 
necessary).
   
   Imported from Jira 
[BEAM-3736](https://issues.apache.org/jira/browse/BEAM-3736). Original Jira may 
contain additional context.
   Reported by: chuanyu.


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