You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/04/26 07:48:00 UTC

[jira] [Commented] (ARROW-15753) [Java] Dataset JNI bridge should use the C data interface

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

Antoine Pitrou commented on ARROW-15753:
----------------------------------------

It seems this is being done in ARROW-7272

> [Java] Dataset JNI bridge should use the C data interface
> ---------------------------------------------------------
>
>                 Key: ARROW-15753
>                 URL: https://issues.apache.org/jira/browse/ARROW-15753
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Java
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> Right now the datasets JNI bridge uses some custom buffer passing which only seems to handle primitive arrays correctly (child array buffers and dictionaries are not considered):
> https://github.com/apache/arrow/blob/master/cpp/src/jni/dataset/jni_wrapper.cc#L498-L500
> Instead, it should use the C data interface, which is now implemented in Java.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)