[
https://issues.apache.org/jira/browse/BEAM-3126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328091#comment-16328091
]
ASF GitHub Bot commented on BEAM-3126:
--------------------------------------
robertwb closed pull request #4408: [BEAM-3126] Creating flatten operation in
Python SDK Harness
URL: https://github.com/apache/beam/pull/4408
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/sdks/python/apache_beam/runners/worker/bundle_processor.py
b/sdks/python/apache_beam/runners/worker/bundle_processor.py
index 1b270b90372..97c318be18b 100644
--- a/sdks/python/apache_beam/runners/worker/bundle_processor.py
+++ b/sdks/python/apache_beam/runners/worker/bundle_processor.py
@@ -610,3 +610,17 @@ def _create_combine_phase_operation(
factory.state_sampler),
transform_proto.unique_name,
consumers)
+
+
[email protected]_urn(urns.FLATTEN_TRANSFORM, None)
+def create(factory, transform_id, transform_proto, unused_parameter,
consumers):
+ return factory.augment_oldstyle_op(
+ operations.create_operation(
+ transform_proto.unique_name,
+ operation_specs.WorkerFlatten(
+ None,
+ [factory.get_only_output_coder(transform_proto)]),
+ factory.counter_factory,
+ factory.state_sampler),
+ transform_proto.unique_name,
+ consumers)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Portable flattens in Python SDK Harness
> ---------------------------------------
>
> Key: BEAM-3126
> URL: https://issues.apache.org/jira/browse/BEAM-3126
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-py-harness
> Reporter: Daniel Oliveira
> Assignee: Daniel Oliveira
> Priority: Major
> Labels: portability
>
> Get flattens working for portability in Python SDK Harness.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)