You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Apache Arrow JIRA Bot (Jira)" <ji...@apache.org> on 2022/10/13 17:52:00 UTC

[jira] [Assigned] (ARROW-11762) [C++][Dataset] Refactor Partitioning to explicitly treat null and absent fields identically

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

Apache Arrow JIRA Bot reassigned ARROW-11762:
---------------------------------------------

    Assignee:     (was: Weston Pace)

> [C++][Dataset] Refactor Partitioning to explicitly treat null and absent fields identically
> -------------------------------------------------------------------------------------------
>
>                 Key: ARROW-11762
>                 URL: https://issues.apache.org/jira/browse/ARROW-11762
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 3.0.0
>            Reporter: Ben Kietzman
>            Priority: Major
>
> ARROW-10438 adds support for partition expressions with explicit absence of a partition key by including an {{is_null(field_ref("absent key field name"))}} in the conjunction. Whenever possible, this should be preferred to an equivalent conjunction which simply omits an equality expression for the missing field.
> Additionally since an absent partition key and a null partition key is semantically equivalent to a  null valued partition key, we should ensure there is no difference in behavior. Currently, {{equal(field_ref("a"), literal(0))}} and {{and_(equal(field_ref("a"), literal(0)), is_null("b"))}} are formatted differently 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)