[
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)