You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2019/08/22 22:30:00 UTC
[jira] [Commented] (ARROW-5215) [C++] Need a way to change integer
size in DictBuilder and AdaptiveIntBuilder
[ https://issues.apache.org/jira/browse/ARROW-5215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913751#comment-16913751 ]
Wes McKinney commented on ARROW-5215:
-------------------------------------
Since I added {{Dictionary32Builder}} we are already 1/4 of the way there. We could add index-type-specific builders for the other 3 index types?
> [C++] Need a way to change integer size in DictBuilder and AdaptiveIntBuilder
> -----------------------------------------------------------------------------
>
> Key: ARROW-5215
> URL: https://issues.apache.org/jira/browse/ARROW-5215
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Affects Versions: 0.13.0
> Reporter: Antoine Pitrou
> Priority: Major
>
> Currently, there's no way to choose the index type with DictionaryBuilder. Consequently, it's difficult to implement e.g. casts to a specific dictionary type (instead the DictionaryBuilder will select the smallest possible integer size for the index type).
> This will allow implementing "null to dict" casting.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)