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

[C++] Duplicate functions array_filter/array_take and filter/take

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++
    • None

    Description

      This has been explained to me as a metafunction and a backend but in that case the backend should not be registered with the function registry. Note both:

      const FunctionDoc filter_doc(
          "Filter with a boolean selection filter",
          ("The output is populated with values from the input at positions\n"
           "where the selection filter is non-zero.  Nulls in the selection filter\n"
           "are handled based on FilterOptions."),
          {"input", "selection_filter"}, "FilterOptions");
      

      and

      const FunctionDoc array_filter_doc(
          "Filter with a boolean selection filter",
          ("The output is populated with values from the input `array` at positions\n"
           "where the selection filter is non-zero.  Nulls in the selection filter\n"
           "are handled based on FilterOptions."),
          {"array", "selection_filter"}, "FilterOptions");
      

      which seems wrong as well.

      Also sort_indices / array_sort_indices

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              westonpace Weston Pace
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: