You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 16:26:36 UTC

[GitHub] [beam] damccorm opened a new issue, #20295: ApproximateQuantilesCombineFn uses deprecated '-' operator

damccorm opened a new issue, #20295:
URL: https://github.com/apache/beam/issues/20295

   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.`
   
   Imported from Jira [BEAM-9579](https://issues.apache.org/jira/browse/BEAM-9579). Original Jira may contain additional context.
   Reported by: chrisgorgo.


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

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org