Skip to content

Commit

Permalink
Add pyarrow tests for Databricks runtime (#9534)
Browse files Browse the repository at this point in the history
To fix: #9533

Signed-off-by: Tim Liu <[email protected]>
  • Loading branch information
NvTimLiu authored Oct 25, 2023
1 parent 8bd8a6f commit 2d2ff1b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions jenkins/databricks/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ IS_SPARK_321_OR_LATER=0
# - DEFAULT: all tests except cudf_udf tests
# - DELTA_LAKE_ONLY: delta_lake tests only
# - MULTITHREADED_SHUFFLE: shuffle tests only
# - PYARROW_ONLY: pyarrow tests only
TEST_MODE=${TEST_MODE:-'DEFAULT'}

# Classloader config is here to work around classloader issues with
Expand All @@ -83,6 +84,11 @@ rapids_shuffle_smoke_test() {
bash integration_tests/run_pyspark_from_build.sh -m shuffle_test --runtime_env="databricks" --test_type=$TEST_TYPE
}

run_pyarrow_tests() {
SPARK_SUBMIT_FLAGS="$SPARK_CONF" \
bash integration_tests/run_pyspark_from_build.sh -m pyarrow_test --pyarrow_test --runtime_env="databricks" --test_type=$TEST_TYPE
}

## limit parallelism to avoid OOM kill
export TEST_PARALLEL=${TEST_PARALLEL:-4}

Expand All @@ -108,4 +114,8 @@ if [ "$(pwd)" == "$SOURCE_PATH" ]; then
## Mutithreaded Shuffle test
rapids_shuffle_smoke_test
fi
if [[ "$TEST_MODE" == "DEFAULT" || "$TEST_MODE" == "PYARROW_ONLY" ]]; then
# Pyarrow tests
run_pyarrow_tests
fi
fi

0 comments on commit 2d2ff1b

Please sign in to comment.