[ 
https://issues.apache.org/jira/browse/BEAM-562?focusedWorklogId=208080&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-208080
 ]

ASF GitHub Bot logged work on BEAM-562:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Mar/19 21:28
            Start Date: 05/Mar/19 21:28
    Worklog Time Spent: 10m 
      Work Description: charlesccychen commented on pull request #7994: 
[BEAM-562] Add DoFn.setup and DoFn.teardown to Python SDK
URL: https://github.com/apache/beam/pull/7994#discussion_r262696932
 
 

 ##########
 File path: sdks/python/apache_beam/runners/worker/bundle_processor.py
 ##########
 @@ -660,6 +660,10 @@ def _fix_output_tags_monitoring_info(self, transform_id, 
monitoring_info):
         monitoring_info.labels['TAG'] = actual_output_tags[0]
     return monitoring_info
 
+  def teardown(self):
 
 Review comment:
   See comment in operations.py; this may not be needed after those changes.
 
----------------------------------------------------------------
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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 208080)
    Time Spent: 0.5h  (was: 20m)

> DoFn Reuse: Add new methods to DoFn
> -----------------------------------
>
>                 Key: BEAM-562
>                 URL: https://issues.apache.org/jira/browse/BEAM-562
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Ahmet Altay
>            Priority: Major
>              Labels: sdk-consistency, triaged
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Java SDK added setup and teardown methods to the DoFns. This makes DoFns 
> reusable and provide performance improvements. Python SDK should add support 
> for these new DoFn methods:
> Proposal doc: 
> https://docs.google.com/document/d/1LLQqggSePURt3XavKBGV7SZJYQ4NW8yCu63lBchzMRk/edit?ts=5771458f#



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to