Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14003

[C++][Python] Not providing a sort_key in the "select_k_unstable" kernel crashes

    XMLWordPrintableJSON

Details

    Description

      The new kernel added in ARROW-1565 crashes in Python if you don't specify a sort_key:

      In [1]: import pyarrow.compute as pc
      
      In [2]: arr = pa.array([1, 2, 3, 4])
      
      In [3]: pc.select_k_unstable(arr, k=2)
      Segmentation fault (core dumped)
      

      cc aocsa

      Attachments

        Issue Links

          Activity

            People

              aocsa Alexander Ocsa
              jorisvandenbossche Joris Van den Bossche
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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