[
https://issues.apache.org/jira/browse/ARROW-5991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney closed ARROW-5991.
-------------------------------
Resolution: Won't Fix
> [C++] Does DictionaryBuilder<T> need to be a subclass of ArrayBuilder?
> -----------------------------------------------------------------------
>
> Key: ARROW-5991
> URL: https://issues.apache.org/jira/browse/ARROW-5991
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
>
> I note that {{DictionaryBuilder<T>}} is book-keeping properties both in
> {{values_builder_}} as well as itself, such as {{length_}} and
> {{null_count_}}.
> There are two possibilities:
> * DictionaryBuilder need not be a subclass of ArrayBuilder
> * A common abstract base for builders could be defined to allow properties
> like {{length_}} to be forwarded by virtual overrides
--
This message was sent by Atlassian Jira
(v8.3.2#803003)