You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rok Mihevc (Jira)" <ji...@apache.org> on 2023/01/11 07:09:03 UTC

[jira] [Updated] (ARROW-462) [C++] Implement in-memory conversions between non-nested primitive types and DictionaryArray equivalent

     [ https://issues.apache.org/jira/browse/ARROW-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rok Mihevc updated ARROW-462:
-----------------------------
    External issue URL: https://github.com/apache/arrow/issues/16106

> [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
>            Assignee: Uwe Korn
>            Priority: Major
>             Fix For: 0.5.0
>
>
> 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 functionality also needs to permit encoding split across multiple record batches -- so the hash table would be a stateful entity, and we can continue to hash more chunks of data to dictionary-encode multiple arrays with a shared dictionary at the end. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)