You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/08 02:02:00 UTC

[jira] [Updated] (ARROW-6484) [Java] Enable create indexType for DictionaryEncoding according to dictionary value count

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

ASF GitHub Bot updated ARROW-6484:
----------------------------------
    Labels: pull-request-available  (was: )

> [Java] Enable create indexType for DictionaryEncoding according to dictionary value count
> -----------------------------------------------------------------------------------------
>
>                 Key: ARROW-6484
>                 URL: https://issues.apache.org/jira/browse/ARROW-6484
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Java
>            Reporter: Ji Liu
>            Assignee: Ji Liu
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, when create {{DictionaryEncoding}}, we need to specify indexType, and it use Int(32, true) as default if this value is null.
> Actually, when dictionary valueCount is small, we should use Int(8,true)/Int(16,true) instead to reduce memory allocation.
> This issue is about to provide API for creating indexType according to valueCount and apply it to avro adapter for enum type.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)