You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Hongze Zhang (Jira)" <ji...@apache.org> on 2019/12/11 02:51:00 UTC

[jira] [Commented] (ARROW-7272) [C++][Java] JNI bridge between RecordBatch and VectorSchemaRoot

    [ https://issues.apache.org/jira/browse/ARROW-7272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16993151#comment-16993151 ] 

Hongze Zhang commented on ARROW-7272:
-------------------------------------

Hi guys, would you suggest to just use the existing *org.apache.arrow.vector.ipc.ArrowReader*? We already have a similar approach in orc adaptor and it works fine. As schemas in Datasets API are always predefined I think we don't have to convert the schema everytime.

> [C++][Java] JNI bridge between RecordBatch and VectorSchemaRoot
> ---------------------------------------------------------------
>
>                 Key: ARROW-7272
>                 URL: https://issues.apache.org/jira/browse/ARROW-7272
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Java
>            Reporter: Francois Saint-Jacques
>            Priority: Major
>
> Given a C++ std::shared_ptr<RecordBatch>, retrieve it in java as a VectorSchemaRoot class. Gandiva already offer a similar facility but with raw buffers. It would be convenient if users could call C++ that yields RecordBatch and retrieve it in a seamless fashion.
> This would remove one roadblock of using C++ dataset facility in Java.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)