Skip to content
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
5 changes: 3 additions & 2 deletions integration_tests/run_pyspark_from_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -527,11 +527,12 @@ else
exit 1
fi

# Create a venv and install only pyspark[connect] to ensure a pure Python client
# Create a venv and install only pyspark-client to ensure a pure Python client
# See: https://spark.apache.org/docs/latest/api/python/getting_started/install.html#python-spark-connect-client
CONNECT_CLIENT_VENV="${RUN_DIR}/connect_client_venv"
python -m venv "$CONNECT_CLIENT_VENV"
"$CONNECT_CLIENT_VENV/bin/python" -m pip install --upgrade pip >/dev/null
"$CONNECT_CLIENT_VENV/bin/python" -m pip install --no-cache-dir "pyspark[connect]==${VERSION_STRING}" >/dev/null
"$CONNECT_CLIENT_VENV/bin/python" -m pip install --no-cache-dir "pyspark-client==${VERSION_STRING}" > /dev/null

# Run a simple query using the Connect client and assert expected result and GPU operator in the plan
output=$(CONNECT_URL="$CONNECT_SERVER_URL" \
Expand Down