You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2021/01/05 17:13:01 UTC

[jira] [Commented] (BEAM-10900) stats.ApproximateUniqueCombineFn should handle numpy array

    [ https://issues.apache.org/jira/browse/BEAM-10900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17259067#comment-17259067 ] 

Beam JIRA Bot commented on BEAM-10900:
--------------------------------------

This issue was marked "stale-P2" and has not received a public comment in 14 days. It is now automatically moved to P3. If you are still affected by it, you can comment and move it back to P2.

> stats.ApproximateUniqueCombineFn should handle numpy array
> ----------------------------------------------------------
>
>                 Key: BEAM-10900
>                 URL: https://issues.apache.org/jira/browse/BEAM-10900
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Monica Song
>            Priority: P3
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> stats.ApproximateUniqueCombineFn uses DeterministicFastPrimitivesCoder to encode input data. DeterministicFastPrimitivesCoder only accepts python data types and iterables, so numpy data types throw an error. 
> Edit: for more detail, with numpy data, the coder registry assigns PickleCoder which returns DeterministicFastPrimitivesCoder when calling PickleCoder.as_deterministic_coder



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