You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2019/05/07 14:58: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=16834836#comment-16834836 ] 

Antoine Pitrou commented on ARROW-5215:
---------------------------------------

Or, rather than change DictionaryBuilder, add a separate FixedDictionaryBuilder class.

> [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
(v7.6.3#76005)