[ 
https://issues.apache.org/jira/browse/BEAM-14100?focusedWorklogId=742711&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-742711
 ]

ASF GitHub Bot logged work on BEAM-14100:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Mar/22 19:30
            Start Date: 16/Mar/22 19:30
    Worklog Time Spent: 10m 
      Work Description: chunyang commented on pull request #17093:
URL: https://github.com/apache/beam/pull/17093#issuecomment-1069535738


   Oops, looks like we tried to solve the same problem. What do you think of my 
approach here: https://github.com/apache/beam/pull/17100 ? It avoids branching 
behavior based on the runner.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 742711)
    Time Spent: 3h 10m  (was: 3h)

> 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
>         Attachments: 5wETU34vtmgk2de.png
>
>          Time Spent: 3h 10m
>  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)

Reply via email to