aaltay commented on a change in pull request #11547:
URL: https://github.com/apache/beam/pull/11547#discussion_r416768530
##########
File path: sdks/python/apache_beam/runners/direct/transform_evaluator.py
##########
@@ -874,6 +875,7 @@ def process_element(self, element):
def finish_bundle(self):
self.runner.finish()
+ self.runner.teardown()
Review comment:
Yes, it does re-instantiate for each bundle. I remember we had a jira
somewhere to re-use dofn instances for more than one bundle, we never
implemented that.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]