You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2020/03/26 19:06:00 UTC

[jira] [Closed] (ARROW-8235) [C++][Compute] Filter out nulls by default

     [ https://issues.apache.org/jira/browse/ARROW-8235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Kietzman closed ARROW-8235.
-------------------------------
    Resolution: Duplicate

> [C++][Compute] Filter out nulls by default
> ------------------------------------------
>
>                 Key: ARROW-8235
>                 URL: https://issues.apache.org/jira/browse/ARROW-8235
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++ - Compute
>    Affects Versions: 0.16.0
>            Reporter: Ben Kietzman
>            Assignee: Ben Kietzman
>            Priority: Major
>             Fix For: 0.17.0
>
>
> 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:
> {code}
> 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;
> };
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)