File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ for SCALA_VERSION in "${SCALA_VERSIONS[@]}"; do
8888 # run the spark_sql test
8989 loginfo " Starting test spark_sql.sh"
9090
91- # export SPARK_HOME=/Users/yzou/spark-client-tests/spark-3.5.5-bin-hadoop3
9291 TEST_FILE=" spark_sql.sh"
9392 TEST_SHORTNAME=" spark_sql"
9493 TEST_TMPDIR=" /tmp/polaris-spark-regtests/${TEST_SHORTNAME} _${SPARK_MAJOR_VERSION} _${SCALA_VERSION} "
Original file line number Diff line number Diff line change @@ -153,4 +153,5 @@ echo "Launch spark-sql at ${SPARK_HOME}/bin/spark-sql"
153153# this is mostly useful for building the Docker image with all needed dependencies
154154${SPARK_HOME} /bin/spark-sql -e " SELECT 1"
155155
156+ # ensure SPARK_HOME is setup for later tests
156157export SPARK_HOME=$SPARK_HOME
Original file line number Diff line number Diff line change 2121
2222SPARK_BEARER_TOKEN=" ${REGTEST_ROOT_BEARER_TOKEN} "
2323
24- # echo "CURRENT SPARK HOME ${SPARK_HOME}"
2524CATALOG_NAME=" spark_sql_catalog"
2625curl -i -X POST -H " Authorization: Bearer ${SPARK_BEARER_TOKEN} " -H ' Accept: application/json' -H ' Content-Type: application/json' \
2726 http://${POLARIS_HOST:- localhost} :8181/api/management/v1/catalogs \
@@ -75,6 +74,7 @@ drop namespace db1;
7574drop namespace db2;
7675EOF
7776
77+ # clean up the spark_catalog dir
7878rm -rf /tmp/spark_catalog/
7979
8080curl -i -X DELETE -H " Authorization: Bearer ${SPARK_BEARER_TOKEN} " -H ' Accept: application/json' -H ' Content-Type: application/json' \
Original file line number Diff line number Diff line change 1919
2020import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2121
22- plugins {
23- id(" polaris-client" )
24- }
22+ plugins { id(" polaris-client" ) }
2523
2624// get version information
2725val sparkMajorVersion = " 3.5"
You can’t perform that action at this time.
0 commit comments