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

[C++][Compute] Add Top-k kernel

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.17.0
    • C++

    Description

      Add a kernel to get top k smallest or largest elements (indices). If we don't require these elements to be sorted, std::nth_element will be a much faster solution than sorting everything then pick top k.

      Attachments

        Issue Links

          Activity

            People

              yibocai Yibo Cai
              yibocai Yibo Cai
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 10m
                  3h 10m