[
https://issues.apache.org/jira/browse/ARROW-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15804932#comment-15804932
]
Uwe L. Korn commented on ARROW-462:
-----------------------------------
Ah, that makes sense. This may be possible to provide with
{{std::unordered_map}} but maybe not in a simple way.
> [C++] Implement in-memory conversions between non-nested primitive types and
> DictionaryArray equivalent
> -------------------------------------------------------------------------------------------------------
>
> Key: ARROW-462
> URL: https://issues.apache.org/jira/browse/ARROW-462
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Wes McKinney
>
> We use a hash table to extract unique values and dictionary indices. There
> may be an opportunity to consolidate common code from the dictionary encoding
> implementation implemented in parquet-cpp (but the dictionary indices will
> not be run-length encoded in Arrow):
> https://github.com/apache/parquet-cpp/blob/master/src/parquet/encodings/dictionary-encoding.h
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)