You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Supun Kamburugamuva (Jira)" <ji...@apache.org> on 2021/12/03 22:15:00 UTC

[jira] [Assigned] (ARROW-13672) [C++] BinaryBuilder doesn't preserve passed in DataType

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

Supun Kamburugamuva reassigned ARROW-13672:
-------------------------------------------

    Assignee: Supun Kamburugamuva

> [C++] BinaryBuilder doesn't preserve passed in DataType
> -------------------------------------------------------
>
>                 Key: ARROW-13672
>                 URL: https://issues.apache.org/jira/browse/ARROW-13672
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 5.0.0
>            Reporter: Micah Kornfield
>            Assignee: Supun Kamburugamuva
>            Priority: Minor
>              Labels: beginner, good-first-issue
>
> There is a [constructor|https://github.com/apache/arrow/blob/1430c93f68960e10a50d27f465eb174e76ac06b2/cpp/src/arrow/array/builder_binary.h#L56] that takes a datatype for binary builder but it is discarded.  When constructing an Array the type is always the value returned from type() [binary|https://github.com/apache/arrow/blob/1430c93f68960e10a50d27f465eb174e76ac06b2/cpp/src/arrow/array/builder_binary.h#L390]
> If a consumer of the API wants to have an extension array this prevents them from passing the extension type though.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)