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

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

Ji Liu created ARROW-6484:
-----------------------------

             Summary: [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


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)