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

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

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

 ##########
 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:
   @amaliujia - Should we wrap up the 2.20 release section and start a new 
section. This is the first release we are trying out changes.md, so we may need 
to figure out a good point where we need to update this file.
   
   Maybe we can do it after release branch cut. What do you think?
 
----------------------------------------------------------------
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: 408916)
    Time Spent: 0.5h  (was: 20m)

> 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: 0.5h
>  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