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

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

                Author: ASF GitHub Bot
            Created on: 15/Sep/20 17:46
            Start Date: 15/Sep/20 17:46
    Worklog Time Spent: 10m 
      Work Description: tvalentyn commented on a change in pull request #12851:
URL: https://github.com/apache/beam/pull/12851#discussion_r488853550



##########
File path: sdks/python/apache_beam/transforms/stats_test.py
##########
@@ -89,6 +90,12 @@ def setUp(self):
           None,
           0.1,
           'assert:global_by_error_with_large_population'),
+      (
+          'numpy_input_data',
+          np.array(range(10)),

Review comment:
       Do multidimensional arrays also work? 




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

> 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
>            Assignee: Monica Song
>            Priority: P1
>          Time Spent: 0.5h
>  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. 



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

Reply via email to