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

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

                Author: ASF GitHub Bot
            Created on: 25/Mar/20 20:36
            Start Date: 25/Mar/20 20:36
    Worklog Time Spent: 10m 
      Work Description: amaliujia commented on pull request #11204: [BEAM-9579] 
Fix numpy logic operators
URL: https://github.com/apache/beam/pull/11204#discussion_r398151570
 
 

 ##########
 File path: CHANGES.md
 ##########
 @@ -116,6 +116,7 @@
 
 ## Bugfixes
 
+* Fixed numpy operators in ApproximateQuantiles (Python) 
([BEAM-9579](https://issues.apache.org/jira/browse/BEAM-9579)).
 
 Review comment:
   Yep. Release branch cut is a good cut point. Later when there is blocker 
JIRA that adds changes to release branch, release manager can ask to add 
something to `changes.md`.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 409805)
    Time Spent: 1h 40m  (was: 1.5h)

> ApproximateQuantilesCombineFn uses deprecated '-' operator
> ----------------------------------------------------------
>
>                 Key: BEAM-9579
>                 URL: https://issues.apache.org/jira/browse/BEAM-9579
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Chris Gorgolewski
>            Priority: Minor
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> This causes a TypeError with numpy 1.16.4
>  
> {{apache_beam/transforms/stats.py", line 437, in <lambda>}}
> {{ else (a > b) - (a < b)}}
> {{TypeError: numpy boolean subtract, the `-` operator, is deprecated, use the 
> bitwise_xor, the `^` operator, or the logical_xor function instead.}}



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

Reply via email to