ARROW-3567: [Gandiva][GLib] Add GLib bindings of Gandiva#2800
ARROW-3567: [Gandiva][GLib] Add GLib bindings of Gandiva#2800shiro615 wants to merge 51 commits intoapache:masterfrom
Conversation
cpp/src/gandiva/CMakeLists.txt
Outdated
There was a problem hiding this comment.
Because it is possible to include <gandiva/*.h> in gandiva-glib.
But I’m not sure whether this change is correct.
There was a problem hiding this comment.
Thank you for checking.
14d89ba to
f5da192
Compare
kou
left a comment
There was a problem hiding this comment.
Thanks!
It's almost good! Can you check my comments?
There was a problem hiding this comment.
evaluate-expression may be better. Because this part covers not only building expression but also evaluating the built expression.
There was a problem hiding this comment.
I see. I've changed it.
There was a problem hiding this comment.
I've added gandiva.
There was a problem hiding this comment.
expected_output_arrays or expected_outputs is better.
There was a problem hiding this comment.
We can put output_columns here as literal to clear what we expect for the evaluate output.
There was a problem hiding this comment.
I've put the following.
assert_equal([
[12, 15, 18, 21], [-10, -11, -12, -13]
],
outputs.collect(&:values))
c_glib/test/run-test.rb
Outdated
There was a problem hiding this comment.
It's better that we put this before Parquet = GI.load("Parquet") because we use the order in other places.
c_glib/test/run-test.sh
Outdated
There was a problem hiding this comment.
arrow-glib arrow-gpu-glib gandiva-glib parquet-glib order is better.
cpp/src/gandiva/CMakeLists.txt
Outdated
|
Thank you for review. |
aebdf5e to
e9cd59a
Compare
kou
left a comment
There was a problem hiding this comment.
+1
I'll merge this when we fix CI failure:
https://travis-ci.org/apache/arrow/jobs/444283175#L896-L897
CMake Error at src/gandiva/CMakeLists.txt:19 (cmake_minimum_required):
CMake 3.11 or higher is required. You are running version 3.9.2
I don't know why C++ job isn't failed but C GLib job is failed...
|
The C++ build uses a new CMake from conda-forge |
3bf433a to
81fea3d
Compare
|
I see. Thank you for the update. |
|
It seems that we need Boost newer than 1.54.0 for Gandiva. |
Yup, we have tested with 1.66 or higher version of boost. |
yes, for the cpp build, we get a newer boost version from conda. |
|
Thanks for the information. |
|
It seems that we can't build Gandiva with vendrored Boost. |
|
I've created a pull request: #2827 |
|
#2827 has been merged. |
db3449d to
3de18f1
Compare
|
#2828 is also needed to build with vendored Boost. |
|
I've merged #2828. |
3de18f1 to
66b2bd1
Compare
|
Umm... We need more works to build Gandiva. https://travis-ci.org/apache/arrow/jobs/445955279#L1732 |
.travis.yml
Outdated
| - ARROW_TRAVIS_USE_VENDORED_BOOST=1 | ||
| - ARROW_TRAVIS_PARQUET=1 | ||
| - BUILD_TORCH_EXAMPLE=no | ||
| - CC="gcc-4.9" |
There was a problem hiding this comment.
for some reason, this doesn't work. Can you instead try doing this similar to the C++ gandiva entry ?
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
|
@kou - your build still used the gcc-4.8. I suggested a workaround to use 4.9 - can you please try that ? |
|
@pravindra Thanks for the information! I've added the configuration. |
|
CI failure for R job is unrelated. |
|
Merged. |
|
Thanks! |
|
Thanks for doing this! @pcmoritz I guess it's time to rehabilitate the Gandiva Cython bindings to keep up with GLib =) |
It's GLib bindings of Gandiva.