davisusanibar opened a new issue, #36927:
URL: https://github.com/apache/arrow/issues/36927
### Describe the enhancement requested
Enable Gandiva build as part of Java maven profile commands.
Current Java mvn command to build Gandiva library finished with errors:
```
$ mvn generate-resources \
-Pgenerate-libs-jni-macos-linux \
-DARROW_GANDIVA=ON \
-DARROW_JAVA_JNI_ENABLE_GANDIVA=ON \
-N
....
[ 40%] Built target arrow_java_jni_gandiva_jar
[ 45%] Running Protobuf compiler on Types.proto
[ 45%] Built target garrow_java_jni_gandiva_proto
[ 50%] Building CXX object
gandiva/CMakeFiles/arrow_java_jni_gandiva.dir/src/main/cpp/config_builder.cc.o
[ 54%] Building CXX object
gandiva/CMakeFiles/arrow_java_jni_gandiva.dir/src/main/cpp/config_holder.cc.o
[ 59%] Building CXX object
gandiva/CMakeFiles/arrow_java_jni_gandiva.dir/src/main/cpp/expression_registry_helper.cc.o
/Users/dsusanibar/voltron/jiraarrow/ultimo/arrow/java/gandiva/src/main/cpp/expression_registry_helper.cc:155:51:
error: no member named 'ByteSizeLong' in 'types::GandivaDataTypes'; did you
mean 'ByteSize'?
auto size = static_cast<int>(gandiva_data_types.ByteSizeLong());
^~~~~~~~~~~~
ByteSize
/Users/dsusanibar/voltron/jiraarrow/ultimo/arrow/java-jni/gandiva/Types.pb.h:2373:7:
note: 'ByteSize' declared here
int ByteSize() const;
^
/Users/dsusanibar/voltron/jiraarrow/ultimo/arrow/java/gandiva/src/main/cpp/expression_registry_helper.cc:184:50:
error: no member named 'ByteSizeLong' in 'types::GandivaFunctions'; did you
mean 'ByteSize'?
auto size = static_cast<int>(gandiva_functions.ByteSizeLong());
^~~~~~~~~~~~
ByteSize
/Users/dsusanibar/voltron/jiraarrow/ultimo/arrow/java-jni/gandiva/Types.pb.h:2458:7:
note: 'ByteSize' declared here
int ByteSize() const;
^
2 errors generated.
make[2]: ***
[gandiva/CMakeFiles/arrow_java_jni_gandiva.dir/src/main/cpp/expression_registry_helper.cc.o]
Error 1
make[1]: *** [gandiva/CMakeFiles/arrow_java_jni_gandiva.dir/all] Error 2
make: *** [all] Error 2
[ERROR] Command execution failed.
```
### Component(s)
Documentation, Java
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]