[
https://issues.apache.org/jira/browse/ARROW-11135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318931#comment-17318931
]
Julian Hyde edited comment on ARROW-11135 at 4/11/21, 7:33 PM:
---------------------------------------------------------------
There are no missing packages. But the install instructions should probably say:
* The Gandiva library only works on macOS, and requires that you manually
install protobuf 2.5.
By the way, I compared which files are in the 3.0.0 release jar (which works on
macOS) and the 3.0.0-SNAPSHOT jar (which works on Linux).
{noformat}
$ diff -u <(tar tf ./arrow-gandiva-3.0.0-SNAPSHOT.jar | sort) <(tar tf
./arrow-gandiva-3.0.0.jar
| sort)
--- /dev/fd/63 2021-04-11 12:25:09.000000000 -0700
+++ /dev/fd/62 2021-04-11 12:25:09.000000000 -0700
@@ -11,7 +11,10 @@
META-INF/maven/org.apache.arrow.gandiva/arrow-gandiva/pom.xml
Types.proto
git.properties
-libgandiva_jni.so
+libgandiva_jni.300.0.0.dylib
+libgandiva_jni.300.dylib
+libgandiva_jni.a
+libgandiva_jni.dylib
org/
org/apache/
org/apache/arrow/
@@ -188,3 +191,8 @@
org/apache/arrow/gandiva/ipc/GandivaTypes$TreeNode.class
org/apache/arrow/gandiva/ipc/GandivaTypes$TreeNodeOrBuilder.class
org/apache/arrow/gandiva/ipc/GandivaTypes.class
+release/
+release/libgandiva_jni.300.0.0.dylib
+release/libgandiva_jni.300.dylib
+release/libgandiva_jni.a
+release/libgandiva_jni.dylib
{noformat}
It would be awesome if, in the next release, the jar contained ALL of those
files, and then I suppose it would work on both Linux and macOS.
was (Author: julianhyde):
There are no missing packages. But the install instructions should probably say:
* The Gandiva library only works on macOS, and requires that you manually
install protobuf 2.5.
By the way, I compared which files are in the 3.0.0 release jar (which works on
macOS) and the 3.0.0-SNAPSHOT jar (which works on Linux).
{noformat}
$ diff -u <(tar tvf ./arrow-gandiva-3.0.0-SNAPSHOT.jar |awk '{print $NF}'|sort)
<(tar tvf ./arrow-gandiva-3.0.0.jar |awk '{print $NF}'|sort)
--- /dev/fd/63 2021-04-11 12:25:09.000000000 -0700
+++ /dev/fd/62 2021-04-11 12:25:09.000000000 -0700
@@ -11,7 +11,10 @@
META-INF/maven/org.apache.arrow.gandiva/arrow-gandiva/pom.xml
Types.proto
git.properties
-libgandiva_jni.so
+libgandiva_jni.300.0.0.dylib
+libgandiva_jni.300.dylib
+libgandiva_jni.a
+libgandiva_jni.dylib
org/
org/apache/
org/apache/arrow/
@@ -188,3 +191,8 @@
org/apache/arrow/gandiva/ipc/GandivaTypes$TreeNode.class
org/apache/arrow/gandiva/ipc/GandivaTypes$TreeNodeOrBuilder.class
org/apache/arrow/gandiva/ipc/GandivaTypes.class
+release/
+release/libgandiva_jni.300.0.0.dylib
+release/libgandiva_jni.300.dylib
+release/libgandiva_jni.a
+release/libgandiva_jni.dylib
{noformat}
It would be awesome if, in the next release, the jar contained ALL of those
files, and then I suppose it would work on both Linux and macOS.
> Using Maven Central artifacts as dependencies produce runtime errors
> --------------------------------------------------------------------
>
> Key: ARROW-11135
> URL: https://issues.apache.org/jira/browse/ARROW-11135
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Affects Versions: 2.0.0
> Reporter: Michael Mior
> Priority: Major
>
> I'm working on connecting Arrow/Gandiva with Apache Calcite. Overall the
> integration is working well, but I'm having issues . As [suggested on the
> mailing
> list|https://lists.apache.org/thread.html/r93a4fedb499c746917ab8d62cf5a8db8c93a7f24bc9fac81f90bedaa%40%3Cuser.arrow.apache.org%3E],
> using Dremio's public artifacts solves the problem. Between two Apache
> projects however, there would be strong preference to use Apache artifacts as
> a dependency.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)