Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pyarrow tests for Databricks runtime [databricks] #9534

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading