[
https://issues.apache.org/jira/browse/ARROW-6070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Micah Kornfield resolved ARROW-6070.
------------------------------------
Fix Version/s: 0.15.0
Resolution: Fixed
Issue resolved by pull request 4968
[https://github.com/apache/arrow/pull/4968]
> [Java] Avoid creating new schema before IPC sending
> ---------------------------------------------------
>
> Key: ARROW-6070
> URL: https://issues.apache.org/jira/browse/ARROW-6070
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Java
> Reporter: Liya Fan
> Assignee: Liya Fan
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.15.0
>
> Time Spent: 5h
> Remaining Estimate: 0h
>
> If a dictionary is attached to a schema, it may need to be converted before
> IPC sending. When this is not the case (which is most likely in practice),
> there is no need to do the conversion and no need to create a new schema.
> We solve the above problem by quickly determining if conversion is required,
> and if not, we avoid creating a new schema and return the original one
> immediately.
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)