Jin Chengcheng created ARROW-17086:
--------------------------------------
Summary: [[C++] Install java/dataset include file and fix debug
build failed by compiler flag
Key: ARROW-17086
URL: https://issues.apache.org/jira/browse/ARROW-17086
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Affects Versions: 9.0.0
Reporter: Jin Chengcheng
Fix For: 9.0.0
Arrow8 will install jni_util.h, but Arrow9 not, cause
[gluten|[oap-project/gluten
(github.com)|https://github.com/oap-project/gluten]] project fail when upgraded
to Arrow 9
And if use cmake --preset ninja-debug
-DARROW_BUILD_SHARED=ON
-DARROW_GANDIVA_JAVA=ON
-DARROW_GANDIVA=ON
it will failed with this error, fix it
arrow/cpp/src/gandiva/jni/expression_registry_helper.cc:157:78: error: implicit
conversion loses integer precision: 'unsigned long' to 'int'
[-Werror,-Wshorten-64-to-32]
gandiva_data_types.SerializeToArray(reinterpret_cast<void*>(buffer.get()),
size);
--
This message was sent by Atlassian Jira
(v8.20.10#820010)