Liya Fan created ARROW-6070: ------------------------------- Summary: [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
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 (v7.6.14#76016)