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

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

                Author: ASF GitHub Bot
            Created on: 25/Apr/19 12:38
            Start Date: 25/Apr/19 12:38
    Worklog Time Spent: 10m 
      Work Description: robertwb commented on pull request #8270: [BEAM-6894] 
Support for constructing a Dataflow job request that includes cross-language 
transforms
URL: https://github.com/apache/beam/pull/8270#discussion_r278527026
 
 

 ##########
 File path: sdks/python/apache_beam/runners/dataflow/dataflow_runner.py
 ##########
 @@ -490,7 +508,10 @@ def _add_step(self, step_kind, step_label, 
transform_node, side_tags=()):
     self.job.proto.steps.append(step.proto)
     step.add_property(PropertyNames.USER_NAME, step_label)
     # Cache the node/step association for the main output of the transform 
node.
-    self._cache.cache_output(transform_node, None, step)
+    output_tag = (
 
 Review comment:
   Need a TODO here about the main output of external transforms being 
ambiguous. Or, could it be the only element of 
set(ransform_node.outputs.keys()) - set(side_tags)?
 
----------------------------------------------------------------
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: 232802)
    Time Spent: 6h 50m  (was: 6h 40m)

> ExternalTransform.expand() does not create the proper AppliedPTransform 
> sub-graph
> ---------------------------------------------------------------------------------
>
>                 Key: BEAM-6894
>                 URL: https://issues.apache.org/jira/browse/BEAM-6894
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Chamikara Jayalath
>            Assignee: Chamikara Jayalath
>            Priority: Major
>          Time Spent: 6h 50m
>  Remaining Estimate: 0h
>
> 'ExternalTransform.expand()' can be used to expand a remote transform and 
> build the correct runner-api subgraph for that transform. However currently 
> we do not modify the AppliedPTransform sub-graph correctly during this 
> process. Relevant code location here.
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/transforms/external.py#L135]
>  
> Without this, DataflowRunner that relies in this object graph (not just the 
> runner API proto) to build the job submission request to Dataflow service 
> cannot construct this request properly.
>  
> cc: [~robertwb]



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

Reply via email to