[ https://issues.apache.org/jira/browse/ARROW-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ji Liu updated ARROW-5883: -------------------------- Description: As described in [http://arrow.apache.org/docs/format/Layout.html#dictionary-encoding], List type encoding should be supported. Now ListVector getObject returns a ArrayList implementation, and its equals and hashCode are already overwritten, so it could be directly supported to be hashMap key in DictionaryEncoder. Since we won't change Dictionary data during encoding/decoding process, use mutable key seems dose't matter. was: As described in [http://arrow.apache.org/docs/format/Layout.html#dictionary-encoding], List type encoding should be supported. Now ListVector getObject returns a ArrayList implementation, and its equals and hashCode are already overwritten, so it could be directly supported to be hashMap key in DictionaryEncoder. Since we won't change Dictionary data, use mutable key seems dose't matter. > [Java] Support Dictionary Encoding for List type > ------------------------------------------------ > > Key: ARROW-5883 > URL: https://issues.apache.org/jira/browse/ARROW-5883 > Project: Apache Arrow > Issue Type: Improvement > Components: Java > Reporter: Ji Liu > Assignee: Ji Liu > Priority: Minor > > As described in > [http://arrow.apache.org/docs/format/Layout.html#dictionary-encoding], List > type encoding should be supported. > Now ListVector getObject returns a ArrayList implementation, and its equals > and hashCode are already overwritten, so it could be directly supported to be > hashMap key in DictionaryEncoder. Since we won't change Dictionary data > during encoding/decoding process, use mutable key seems dose't matter. -- This message was sent by Atlassian JIRA (v7.6.3#76005)