[
https://issues.apache.org/jira/browse/BEAM-14100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ning updated BEAM-14100:
------------------------
Fix Version/s: Not applicable
Resolution: Duplicate
Status: Resolved (was: In Progress)
> Dataflow interactive runner throws exception when there is BigQuery I/O in
> the pipeline
> ---------------------------------------------------------------------------------------
>
> Key: BEAM-14100
> URL: https://issues.apache.org/jira/browse/BEAM-14100
> Project: Beam
> Issue Type: Bug
> Components: runner-py-interactive
> Affects Versions: 2.35.0, 2.36.0, 2.37.0
> Reporter: Ning
> Assignee: Ning
> Priority: P1
> Fix For: Not applicable
>
> Attachments: 5wETU34vtmgk2de.png
>
> Time Spent: 3h 20m
> Remaining Estimate: 0h
>
> {code:java}
> ~/apache-beam-2.37.0/lib/python3.7/site-packages/apache_beam/coders/coders.py
> in <lambda>(x)
> 800 protocol = pickle.HIGHEST_PROTOCOL
> 801 return coder_impl.CallbackCoderImpl(
> --> 802 lambda x: dumps(x, protocol), pickle.loads)
> 803
> 804 def as_deterministic_coder(self, step_label, error_message=None):
> TypeError: can't pickle generator objects [while running '[1]:
> ReadFromBigQuery/Read/SDFBoundedSourceReader/ParDo(SDFBoundedSourceDoFn)/SplitAndSizeRestriction']
> {code}
> Issue occurred since 2.35.0.
> After debugging, the generator was introduced in
> https://github.com/apache/beam/pull/15610.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)