You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Liya Fan (JIRA)" <ji...@apache.org> on 2019/07/30 12:18:00 UTC

[jira] [Created] (ARROW-6070) [Java] Avoid creating new schema before IPC sending

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)