This is an automated email from the ASF dual-hosted git repository.
kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 6af5893 ARROW-9524: [CI][Gandiva] Fix c++ unit test failure in
Gandiva nightly build
6af5893 is described below
commit 6af58939b275dfea16268c79396f667368e6303d
Author: Projjal Chanda <[email protected]>
AuthorDate: Mon Jul 20 12:36:47 2020 +0200
ARROW-9524: [CI][Gandiva] Fix c++ unit test failure in Gandiva nightly build
This unit test :
https://github.com/apache/arrow/blob/d9525f1b19c00e440b3af83a68d1f2bba89a0a24/cpp/src/arrow/ipc/read_write_test.cc#L322
requires test data to pass.
Closes #7800 from projjal/fixgandivanightly
Authored-by: Projjal Chanda <[email protected]>
Signed-off-by: Krisztián Szűcs <[email protected]>
---
dev/tasks/gandiva-jars/build-cpp-linux.sh | 1 +
dev/tasks/gandiva-jars/travis.linux.yml | 2 +-
dev/tasks/gandiva-jars/travis.osx.yml | 2 ++
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/dev/tasks/gandiva-jars/build-cpp-linux.sh
b/dev/tasks/gandiva-jars/build-cpp-linux.sh
index 61c8249..24402fc 100755
--- a/dev/tasks/gandiva-jars/build-cpp-linux.sh
+++ b/dev/tasks/gandiva-jars/build-cpp-linux.sh
@@ -32,6 +32,7 @@ mkdir -p "${ARROW_BUILD_DIR}"
pushd "${ARROW_BUILD_DIR}"
PATH="${CPYTHON_PATH}/bin:${PATH}"
+export ARROW_TEST_DATA="/arrow/testing/data"
cmake -DCMAKE_BUILD_TYPE=Release \
-DARROW_DEPENDENCY_SOURCE="SYSTEM" \
diff --git a/dev/tasks/gandiva-jars/travis.linux.yml
b/dev/tasks/gandiva-jars/travis.linux.yml
index c53e913..2083c9d 100644
--- a/dev/tasks/gandiva-jars/travis.linux.yml
+++ b/dev/tasks/gandiva-jars/travis.linux.yml
@@ -49,7 +49,7 @@ before_script:
- git clone --no-checkout {{ arrow.remote }} arrow
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- if [ $CROSSBOW_USE_COMMIT_ID = true ]; then git -C arrow checkout {{
arrow.head }}; else git -C arrow checkout FETCH_HEAD; fi
-
+ - git -C arrow submodule update --init --recursive
- export TRAVIS_BUILD_DIR=$TRAVIS_BUILD_DIR/arrow
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
- export PATH="$JAVA_HOME/bin:$PATH"
diff --git a/dev/tasks/gandiva-jars/travis.osx.yml
b/dev/tasks/gandiva-jars/travis.osx.yml
index 8d7662e..8a0576d 100644
--- a/dev/tasks/gandiva-jars/travis.osx.yml
+++ b/dev/tasks/gandiva-jars/travis.osx.yml
@@ -38,12 +38,14 @@ before_script:
- git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
- if [ $CROSSBOW_USE_COMMIT_ID = true ]; then git -C arrow checkout {{
arrow.head }}; else git -C arrow checkout FETCH_HEAD; fi
- export TRAVIS_BUILD_DIR=$TRAVIS_BUILD_DIR/arrow
+ - git -C arrow submodule update --init --recursive
- brew update
- brew install bison flex llvm
- brew tap adoptopenjdk/openjdk
- brew cask install adoptopenjdk8
- export
JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
- export PATH="$JAVA_HOME/bin:$PATH"
+ - export ARROW_TEST_DATA=$TRAVIS_BUILD_DIR/testing/data
- echo $JAVA_HOME
- which java