Details
-
Bug
-
Status: Open
-
P2
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The InteractiveRunner crashes when given a pipeline that includes a cross-language transform.
Here's the example I tried to run in a jupyter notebook:
p = beam.Pipeline(InteractiveRunner()) pc = (p | SqlTransform("""SELECT CAST(1 AS INT) AS `id`, CAST('foo' AS VARCHAR) AS `str`, CAST(3.14 AS DOUBLE) AS `flt`""")) df = interactive_beam.collect(pc)
The problem occurs when pipeline_fragment.py creates a copy of the pipeline by writing it to proto and reading it back. Reading it back fails because some of the pipeline is not written in Python.
Attachments
Issue Links
- is a child of
-
BEAM-14331 Make InteractiveRunner work without runner api roundtrip
- Open
- is blocked by
-
BEAM-7515 Support TestStream on the fn_api_runner
- Open
- links to
(8 links to)