You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Anonymous (Jira)" <ji...@apache.org> on 2023/04/13 11:00:00 UTC

[jira] [Work started] (BEAM-9579) ApproximateQuantilesCombineFn uses deprecated '-' operator

     [ https://issues.apache.org/jira/browse/BEAM-9579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on BEAM-9579 started by null.
----------------------------------
> 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: P3
>          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.20.10#820010)