You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/12/09 14:28:00 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated ARROW-13672:
-----------------------------------
Labels: beginner good-first-issue pull-request-available (was: beginner good-first-issue)
> [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, pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)