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

[C++][Compute] Filter out nulls by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.16.0
    • 0.17.0
    • None
    • None

    Description

      The filter kernel currently emits null when a slot in the selection mask is null. For compatibility with Kleene logic systems like SQL, this behavior should be configurable. Provide an option enumeration:

      struct FilterOptions {
        enum NullSelectionBehavior {
          /// null slots in the selection mask will drop the filtered value
          DROP,
          /// null slots in the selection mask will keep the filtered value
          KEEP,
          /// null slots in the selection mask will replace the filtered value with null
          EMIT_NULL,
        } null_selection_behavior;
      };
      

      Attachments

        Issue Links

          Activity

            People

              bkietz Ben Kietzman
              bkietz Ben Kietzman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: