Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Jul 4, 2022

This is a follow-up of #13481.

We also need to update jni_util.h path in
java/dataset/src/main/cpp/jni_util_test.cc.

Removing "./" is needless but it's redundant.

This is a follow-up of apache#13481.

We also need to update jni_util.h path in
java/dataset/src/main/cpp/jni_util_test.cc.

Removing "./" is needless but it's redundant.
@kou kou requested a review from lidavidm July 4, 2022 02:02
@kou
Copy link
Member Author

kou commented Jul 4, 2022

Cc: @lwhite1

@github-actions
Copy link

github-actions bot commented Jul 4, 2022

Copy link
Member

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this, Kou (would have thought CI tests this, does it not?)

@kou
Copy link
Member Author

kou commented Jul 4, 2022

It seems that we don't have a job that uses ARROW_JNI=ON and ARROW_BUILD_TESTS=ON.

@kou
Copy link
Member Author

kou commented Jul 4, 2022

Should we also add the following change to this pull request?

diff --git a/ci/docker/linux-apt-jni.dockerfile b/ci/docker/linux-apt-jni.dockerfile
index 6673b001d7..be6562eae6 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 \

@lidavidm
Copy link
Member

lidavidm commented Jul 4, 2022

Yes, let's make sure at least one CI job covers this.

@kou
Copy link
Member Author

kou commented Jul 5, 2022

OK. I enable it.

@kou
Copy link
Member Author

kou commented Jul 5, 2022

+1

@kou kou merged commit e44f79a into apache:master Jul 5, 2022
@kou kou deleted the java-jni-util branch July 5, 2022 06:23
drin pushed a commit to drin/arrow that referenced this pull request Jul 5, 2022
This is a follow-up of apache#13481.

We also need to update jni_util.h path in
java/dataset/src/main/cpp/jni_util_test.cc.

Removing "./" is needless but it's redundant.

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
This is a follow-up of apache#13481.

We also need to update jni_util.h path in
java/dataset/src/main/cpp/jni_util_test.cc.

Removing "./" is needless but it's redundant.

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants