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

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

                Author: ASF GitHub Bot
            Created on: 08/Sep/20 16:09
            Start Date: 08/Sep/20 16:09
    Worklog Time Spent: 10m 
      Work Description: codecov[bot] edited a comment on pull request #12756:
URL: https://github.com/apache/beam/pull/12756#issuecomment-685255075


   # [Codecov](https://codecov.io/gh/apache/beam/pull/12756?src=pr&el=h1) Report
   > Merging 
[#12756](https://codecov.io/gh/apache/beam/pull/12756?src=pr&el=desc) into 
[master](https://codecov.io/gh/apache/beam/commit/1d25e2ebeb4a0f74278dbd0cfbaa00f36abd73dc?el=desc)
 will **increase** coverage by `0.03%`.
   > The diff coverage is `22.22%`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/beam/pull/12756/graphs/tree.svg?width=650&height=150&src=pr&token=qcbbAh8Fj1)](https://codecov.io/gh/apache/beam/pull/12756?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #12756      +/-   ##
   ==========================================
   + Coverage   40.22%   40.25%   +0.03%     
   ==========================================
     Files         454      455       +1     
     Lines       53669    53798     +129     
   ==========================================
   + Hits        21587    21659      +72     
   - Misses      32082    32139      +57     
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/beam/pull/12756?src=pr&el=tree) | Coverage 
Δ | |
   |---|---|---|
   | 
[...beam/runners/interactive/background\_caching\_job.py](https://codecov.io/gh/apache/beam/pull/12756/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9pbnRlcmFjdGl2ZS9iYWNrZ3JvdW5kX2NhY2hpbmdfam9iLnB5)
 | `25.00% <0.00%> (-0.25%)` | :arrow_down: |
   | 
[sdks/python/apache\_beam/transforms/stats.py](https://codecov.io/gh/apache/beam/pull/12756/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdHJhbnNmb3Jtcy9zdGF0cy5weQ==)
 | `27.06% <25.00%> (-0.27%)` | :arrow_down: |
   | 
[...hon/apache\_beam/runners/direct/test\_stream\_impl.py](https://codecov.io/gh/apache/beam/pull/12756/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9kaXJlY3QvdGVzdF9zdHJlYW1faW1wbC5weQ==)
 | `41.17% <0.00%> (-1.58%)` | :arrow_down: |
   | 
[.../runners/portability/fn\_api\_runner/translations.py](https://codecov.io/gh/apache/beam/pull/12756/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9wb3J0YWJpbGl0eS9mbl9hcGlfcnVubmVyL3RyYW5zbGF0aW9ucy5weQ==)
 | `13.62% <0.00%> (-0.16%)` | :arrow_down: |
   | 
[setup.py](https://codecov.io/gh/apache/beam/pull/12756/diff?src=pr&el=tree#diff-c2V0dXAucHk=)
 | `0.00% <0.00%> (ø)` | |
   | 
[sdks/python/apache\_beam/portability/python\_urns.py](https://codecov.io/gh/apache/beam/pull/12756/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcG9ydGFiaWxpdHkvcHl0aG9uX3VybnMucHk=)
 | `100.00% <0.00%> (ø)` | |
   | 
[...s/python/apache\_beam/io/gcp/bigquery\_file\_loads.py](https://codecov.io/gh/apache/beam/pull/12756/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vaW8vZ2NwL2JpZ3F1ZXJ5X2ZpbGVfbG9hZHMucHk=)
 | `23.36% <0.00%> (ø)` | |
   | 
[sdks/python/apache\_beam/io/kinesis.py](https://codecov.io/gh/apache/beam/pull/12756/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vaW8va2luZXNpcy5weQ==)
 | `66.66% <0.00%> (ø)` | |
   | 
[...hon/apache\_beam/runners/worker/bundle\_processor.py](https://codecov.io/gh/apache/beam/pull/12756/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy93b3JrZXIvYnVuZGxlX3Byb2Nlc3Nvci5weQ==)
 | `28.92% <0.00%> (+0.24%)` | :arrow_up: |
   | 
[sdks/python/apache\_beam/dataframe/frames.py](https://codecov.io/gh/apache/beam/pull/12756/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZGF0YWZyYW1lL2ZyYW1lcy5weQ==)
 | `43.73% <0.00%> (+0.76%)` | :arrow_up: |
   | ... and [1 
more](https://codecov.io/gh/apache/beam/pull/12756/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/beam/pull/12756?src=pr&el=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/beam/pull/12756?src=pr&el=footer). Last 
update 
[31af8b1...8de1e4d](https://codecov.io/gh/apache/beam/pull/12756?src=pr&el=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


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

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


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

            Worklog Id:     (was: 480256)
    Remaining Estimate: 13h 50m  (was: 14h)
            Time Spent: 10h 10m  (was: 10h)

> Hash in stats.ApproximateUniqueCombineFn NON-deterministic
> ----------------------------------------------------------
>
>                 Key: BEAM-10824
>                 URL: https://issues.apache.org/jira/browse/BEAM-10824
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Monica Song
>            Priority: P1
>              Labels: hash
>   Original Estimate: 24h
>          Time Spent: 10h 10m
>  Remaining Estimate: 13h 50m
>
> The python hash() function is non-deterministic. As a result, different 
> workers will map identical values to different hashes. This leads to 
> overestimation of the number of unique values (by several magnitudes, in my 
> experience x1000) in a distributed processing model. 
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/transforms/stats.py#L218]
>  
>  



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

Reply via email to