[ https://issues.apache.org/jira/browse/ARROW-6484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Micah Kornfield resolved ARROW-6484. ------------------------------------ Fix Version/s: 0.15.0 Resolution: Fixed Issue resolved by pull request 5321 [https://github.com/apache/arrow/pull/5321] > [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 > Fix For: 0.15.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > 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)