[
https://issues.apache.org/jira/browse/ARROW-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072494#comment-16072494
]
Emilio Lahr-Vivaz commented on ARROW-1175:
------------------------------------------
Some more details - the important bit is calling 'vector.addOrGet' with the
correct dictionary encoded field. This sets up the metadata correctly. The
child vector is of the dictionary encoded type (e.g. Int), and you have to
manually encode dictionary values before writing them. On read, you have to
examine the schema so that you know to manually decode the Int values
appropriately.
> [Java] Implement/test dictionary-encoded subfields
> --------------------------------------------------
>
> Key: ARROW-1175
> URL: https://issues.apache.org/jira/browse/ARROW-1175
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Java - Vectors
> Reporter: Wes McKinney
>
> We do not have any tests about types like:
> {code}
> List<Dictionary-encoded String>
> {code}
> cc [~julienledem] [~elahrvivaz]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)