chamikaramj commented on a change in pull request #11185: [BEAM-8019] Updates
Python SDK to handle remote SDK coders and preserve tags added by remote SDKs
and propagate restriction coders.
URL: https://github.com/apache/beam/pull/11185#discussion_r401206521
##########
File path: sdks/python/apache_beam/runners/dataflow/dataflow_runner.py
##########
@@ -558,6 +564,14 @@ def run_pipeline(self, pipeline, options):
result.metric_results = self._metrics
return result
+ def _get_encoding_for_external_environment(self, element):
+ if not isinstance(element, ElementTypeHolder):
+ raise Exception(
+ 'Expected to receive an object of type ElementTypeHolder '
+ 'but received %r' % element)
+ from apache_beam.coders.coders import ExternalCoder
Review comment:
Done.
----------------------------------------------------------------
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]
With regards,
Apache Git Services