diff --git a/ci/docker/linux-apt-jni.dockerfile b/ci/docker/linux-apt-jni.dockerfile index 6673b001d71..be6562eae6a 100644 --- a/ci/docker/linux-apt-jni.dockerfile +++ b/ci/docker/linux-apt-jni.dockerfile @@ -69,7 +69,7 @@ ARG cmake=3.11.4 RUN wget -nv -O - https://github.com/Kitware/CMake/releases/download/v${cmake}/cmake-${cmake}-Linux-x86_64.tar.gz | tar -xzf - -C /opt ENV PATH=/opt/cmake-${cmake}-Linux-x86_64/bin:$PATH -ENV ARROW_BUILD_TESTS=OFF \ +ENV ARROW_BUILD_TESTS=ON \ ARROW_DATASET=ON \ ARROW_FLIGHT=OFF \ ARROW_GANDIVA_JAVA=ON \ diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 245a458ef0b..8dea78eec99 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -914,7 +914,7 @@ macro(build_boost) set(BOOST_VENDORED TRUE) endmacro() -if(ARROW_FLIGHT AND ARROW_BUILD_TESTS) +if(ARROW_BUILD_TESTS) set(ARROW_BOOST_REQUIRED_VERSION "1.64") else() set(ARROW_BOOST_REQUIRED_VERSION "1.58") diff --git a/java/dataset/src/main/cpp/jni_util.cc b/java/dataset/src/main/cpp/jni_util.cc index e54dcba32bd..76c62d8d371 100644 --- a/java/dataset/src/main/cpp/jni_util.cc +++ b/java/dataset/src/main/cpp/jni_util.cc @@ -15,7 +15,7 @@ // specific language governing permissions and limitations // under the License. -#include "./jni_util.h" +#include "jni_util.h" #include #include diff --git a/java/dataset/src/main/cpp/jni_util_test.cc b/java/dataset/src/main/cpp/jni_util_test.cc index eec1ad245ab..a15a9322521 100644 --- a/java/dataset/src/main/cpp/jni_util_test.cc +++ b/java/dataset/src/main/cpp/jni_util_test.cc @@ -15,7 +15,7 @@ // specific language governing permissions and limitations // under the License. -#include "jni/dataset/jni_util.h" +#include "jni_util.h" #include diff --git a/java/dataset/src/main/cpp/jni_wrapper.cc b/java/dataset/src/main/cpp/jni_wrapper.cc index 9312825e28d..ef2f16894b6 100644 --- a/java/dataset/src/main/cpp/jni_wrapper.cc +++ b/java/dataset/src/main/cpp/jni_wrapper.cc @@ -24,7 +24,7 @@ #include "arrow/filesystem/localfs.h" #include "arrow/ipc/api.h" #include "arrow/util/iterator.h" -#include "./jni_util.h" +#include "jni_util.h" #include "org_apache_arrow_dataset_file_JniWrapper.h" #include "org_apache_arrow_dataset_jni_JniWrapper.h" #include "org_apache_arrow_dataset_jni_NativeMemoryPool.h"