Repository navigation
Commit 08a20b7
ARROW-17086: [C++] Install java/dataset include file and fix debug build failed by compiler flag (apache#13614)
Arrow8 will install jni_util.h, but Arrow9 not, cause our 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);
Lead-authored-by: Chengcheng Jin <chengcheng.jin@intel.com>
Co-authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>1 parent b309834 commit 08a20b7
4 files changed
Lines changed: 8 additions & 6 deletions
File tree
- cpp/src/gandiva/jni
- java/dataset/src/main/cpp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments