[ https://issues.apache.org/jira/browse/ARROW-15754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17527979#comment-17527979 ]
Antoine Pitrou commented on ARROW-15754: ---------------------------------------- cc [~zhztheplayer] > [Java] ORC JNI bridge should use the C data interface > ----------------------------------------------------- > > Key: ARROW-15754 > URL: https://issues.apache.org/jira/browse/ARROW-15754 > Project: Apache Arrow > Issue Type: Improvement > Components: Java > Reporter: Antoine Pitrou > Priority: Major > > Right now the ORC 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/orc/jni_wrapper.cpp#L263-L265 > 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)