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

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

                Author: ASF GitHub Bot
            Created on: 03/Jul/21 05:58
            Start Date: 03/Jul/21 05:58
    Worklog Time Spent: 10m 
      Work Description: codecov[bot] commented on pull request #15125:
URL: https://github.com/apache/beam/pull/15125#issuecomment-873352366


   # 
[Codecov](https://codecov.io/gh/apache/beam/pull/15125?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#15125](https://codecov.io/gh/apache/beam/pull/15125?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (594358e) into 
[master](https://codecov.io/gh/apache/beam/commit/90c854e97787c19cd5b94034d37c5319317567a8?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (90c854e) will **increase** coverage by `0.00%`.
   > The diff coverage is `0.00%`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/beam/pull/15125/graphs/tree.svg?width=650&height=150&src=pr&token=qcbbAh8Fj1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/beam/pull/15125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   
   ```diff
   @@           Coverage Diff            @@
   ##           master   #15125    +/-   ##
   ========================================
     Coverage   83.78%   83.79%            
   ========================================
     Files         439      441     +2     
     Lines       59219    59539   +320     
   ========================================
   + Hits        49618    49890   +272     
   - Misses       9601     9649    +48     
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/beam/pull/15125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 | Coverage Δ | |
   |---|---|---|
   | 
[...dks/python/apache\_beam/examples/cookbook/coders.py](https://codecov.io/gh/apache/beam/pull/15125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMvY29va2Jvb2svY29kZXJzLnB5)
 | `62.16% <0.00%> (ø)` | |
   | 
[sdks/python/apache\_beam/utils/interactive\_utils.py](https://codecov.io/gh/apache/beam/pull/15125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdXRpbHMvaW50ZXJhY3RpdmVfdXRpbHMucHk=)
 | `92.68% <0.00%> (-2.44%)` | :arrow_down: |
   | 
[...hon/apache\_beam/runners/direct/test\_stream\_impl.py](https://codecov.io/gh/apache/beam/pull/15125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9kaXJlY3QvdGVzdF9zdHJlYW1faW1wbC5weQ==)
 | `94.02% <0.00%> (-2.24%)` | :arrow_down: |
   | 
[...ks/python/apache\_beam/runners/worker/data\_plane.py](https://codecov.io/gh/apache/beam/pull/15125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy93b3JrZXIvZGF0YV9wbGFuZS5weQ==)
 | `90.60% <0.00%> (-2.13%)` | :arrow_down: |
   | 
[...ks/python/apache\_beam/runners/worker/sdk\_worker.py](https://codecov.io/gh/apache/beam/pull/15125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy93b3JrZXIvc2RrX3dvcmtlci5weQ==)
 | `88.85% <0.00%> (-0.16%)` | :arrow_down: |
   | 
[setup.py](https://codecov.io/gh/apache/beam/pull/15125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2V0dXAucHk=)
 | `0.00% <0.00%> (ø)` | |
   | 
[sdks/python/apache\_beam/dataframe/\_\_init\_\_.py](https://codecov.io/gh/apache/beam/pull/15125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZGF0YWZyYW1lL19faW5pdF9fLnB5)
 | `100.00% <0.00%> (ø)` | |
   | 
[...ython/apache\_beam/examples/kafkataxi/kafka\_taxi.py](https://codecov.io/gh/apache/beam/pull/15125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMva2Fma2F0YXhpL2thZmthX3RheGkucHk=)
 | `0.00% <0.00%> (ø)` | |
   | 
[...ks/python/apache\_beam/ml/gcp/recommendations\_ai.py](https://codecov.io/gh/apache/beam/pull/15125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vbWwvZ2NwL3JlY29tbWVuZGF0aW9uc19haS5weQ==)
 | `87.26% <0.00%> (ø)` | |
   | 
[...n/apache\_beam/ml/gcp/recommendations\_ai\_test\_it.py](https://codecov.io/gh/apache/beam/pull/15125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vbWwvZ2NwL3JlY29tbWVuZGF0aW9uc19haV90ZXN0X2l0LnB5)
 | `69.76% <0.00%> (ø)` | |
   | ... and [9 
more](https://codecov.io/gh/apache/beam/pull/15125/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 | |
   
   ------
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/beam/pull/15125?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/beam/pull/15125?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
 Last update 
[90c854e...594358e](https://codecov.io/gh/apache/beam/pull/15125?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
 Read the [comment 
docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
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: 618336)
    Time Spent: 0.5h  (was: 20m)

> Bounded Source Reader DoFn PR #13154  causes some pipelines to fail with a 
> PicklingError 
> -----------------------------------------------------------------------------------------
>
>                 Key: BEAM-12573
>                 URL: https://issues.apache.org/jira/browse/BEAM-12573
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-py-common
>            Reporter: Valentyn Tymofieiev
>            Priority: P2
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> As reported in [1], when trying to run the coders.py cookbook example [2], it 
> raises an
> exception
> ```
>    PicklingError : _pickle.PicklingError: Can't pickle <class
> '__main__.JsonCoder'>: it's not the same object as __main__.JsonCoder
> [while running 'read/Read/Map(<lambda at iobase.py:899>)']
> ```
> To reproduce the issue, run:
> ```
>   python coders.py --input input.ndjson --output output.txt
> ```
> Where the input file (input.ndjson) has the same values as coders_test.py:
> ```
> {"host": ["Germany", 1], "guest": ["Italy", 0]}
> {"host": ["Germany", 1], "guest": ["Brasil", 3]}
> {"host": ["Brasil", 1], "guest": ["Italy", 0]}
> ```
> I have tracked the change in behavior to[3] with git bisect. This needs 
> further investigation to understand the issue. 
> [1] 
> https://lists.apache.org/thread.html/r45340bbee91a6caf798fe62d24388f645f8792cc7506351fd66adec3%40%3Cdev.beam.apache.org%3E
> [2] 
> https://github.com/apache/beam/blob/35bac6a62f1dc548ee908cfeff7f73ffcac38e6f/sdks/python/apache_beam/examples/cookbook/coders.py
> [3]  https://github.com/apache/beam/pull/13154



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to