From 04c473568c0678f1bc853c0787e6b90c6d3d8d2e Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Thu, 22 Aug 2024 09:28:20 +0200 Subject: [PATCH 1/2] GH-43785: [Python][CI] Correct PARQUET_TEST_DATA path in wheel tests --- ci/scripts/cpp_test.sh | 2 +- ci/scripts/python_wheel_unix_test.sh | 2 +- ci/scripts/python_wheel_windows_test.bat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/scripts/cpp_test.sh b/ci/scripts/cpp_test.sh index 7912bf23e491c..beeb723ae535a 100755 --- a/ci/scripts/cpp_test.sh +++ b/ci/scripts/cpp_test.sh @@ -30,7 +30,7 @@ source_dir=${arrow_dir}/cpp binary_output_dir=${build_dir}/${ARROW_BUILD_TYPE:-debug} export ARROW_TEST_DATA=${arrow_dir}/testing/data -export PARQUET_TEST_DATA=${source_dir}/submodules/parquet-testing/data +export PARQUET_TEST_DATA=${source_dir}/cpp/submodules/parquet-testing/data export LD_LIBRARY_PATH=${ARROW_HOME}/${CMAKE_INSTALL_LIBDIR:-lib}:${LD_LIBRARY_PATH} # By default, aws-sdk tries to contact a non-existing local ip host diff --git a/ci/scripts/python_wheel_unix_test.sh b/ci/scripts/python_wheel_unix_test.sh index a25e5c51bddbc..cf87a17056783 100755 --- a/ci/scripts/python_wheel_unix_test.sh +++ b/ci/scripts/python_wheel_unix_test.sh @@ -54,7 +54,7 @@ export PYARROW_TEST_S3=${ARROW_S3} export PYARROW_TEST_TENSORFLOW=ON export ARROW_TEST_DATA=${source_dir}/testing/data -export PARQUET_TEST_DATA=${source_dir}/submodules/parquet-testing/data +export PARQUET_TEST_DATA=${source_dir}/cpp/submodules/parquet-testing/data if [ "${INSTALL_PYARROW}" == "ON" ]; then # Install the built wheels diff --git a/ci/scripts/python_wheel_windows_test.bat b/ci/scripts/python_wheel_windows_test.bat index a928c3571d0cb..87c0bb1252024 100755 --- a/ci/scripts/python_wheel_windows_test.bat +++ b/ci/scripts/python_wheel_windows_test.bat @@ -35,7 +35,7 @@ set PYARROW_TEST_TENSORFLOW=ON @REM set PYARROW_TEST_PANDAS=ON set ARROW_TEST_DATA=C:\arrow\testing\data -set PARQUET_TEST_DATA=C:\arrow\submodules\parquet-testing\data +set PARQUET_TEST_DATA=C:\arrow\cpp\submodules\parquet-testing\data @REM Install testing dependencies pip install -r C:\arrow\python\requirements-wheel-test.txt || exit /B 1 From 0200fe8edc8dc335fa2c79b65289d8652b400675 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Thu, 22 Aug 2024 10:16:52 +0200 Subject: [PATCH 2/2] fixup --- ci/scripts/cpp_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/cpp_test.sh b/ci/scripts/cpp_test.sh index beeb723ae535a..7912bf23e491c 100755 --- a/ci/scripts/cpp_test.sh +++ b/ci/scripts/cpp_test.sh @@ -30,7 +30,7 @@ source_dir=${arrow_dir}/cpp binary_output_dir=${build_dir}/${ARROW_BUILD_TYPE:-debug} export ARROW_TEST_DATA=${arrow_dir}/testing/data -export PARQUET_TEST_DATA=${source_dir}/cpp/submodules/parquet-testing/data +export PARQUET_TEST_DATA=${source_dir}/submodules/parquet-testing/data export LD_LIBRARY_PATH=${ARROW_HOME}/${CMAKE_INSTALL_LIBDIR:-lib}:${LD_LIBRARY_PATH} # By default, aws-sdk tries to contact a non-existing local ip host