Polber commented on code in PR #29261:
URL: https://github.com/apache/beam/pull/29261#discussion_r1379608615
##########
sdks/python/apache_beam/yaml/yaml_transform.py:
##########
@@ -227,6 +227,8 @@ def get_pcollection(self, name):
outputs = self.get_outputs(transform)
if output in outputs:
return outputs[output]
+ elif len(outputs) == 1 and outputs[next(iter(outputs))].tag == output:
Review Comment:
@robertwb I added this for cases where there is only 1 output from
SchemaTransform (i.e. Write) because it seems to always get labeled as 'out'
even when the `ErrorHandling` is specified
--
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]