Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-9579

ApproximateQuantilesCombineFn uses deprecated '-' operator

Details

    • Bug
    • Status: Triage Needed
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-py-core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chrisgorgo Chris Gorgolewski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m