Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
-
None
Description
Following pipeline fails on Dataflow runner unless we use beam_fn_api experiment.
class NoOpDoFn(beam.DoFn): def process(self, element): return element p = beam.Pipeline(options=pipeline_options) _ = p | beam.Impulse() | beam.ParDo(NoOpDoFn()) result = p.run()
The reason is that we encode Impluse payload using url-escaping in [1], while Dataflow runner expects base64 encoding in non-fnapi mode. In FnApi mode, DF runner expects URL escaping.
We should fix or reconcile the encoding in non-FnAPI path, and add a ValidatesRunner test that catches this error.
Attachments
Issue Links
- links to