Skip to content

Commit a7f52b3

Browse files
committed
address feedback
1 parent a6f1374 commit a7f52b3

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

plugins/spark/v3.5/regtests/run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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}"

plugins/spark/v3.5/regtests/setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
156157
export SPARK_HOME=$SPARK_HOME

plugins/spark/v3.5/regtests/spark_sql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
SPARK_BEARER_TOKEN="${REGTEST_ROOT_BEARER_TOKEN}"
2323

24-
# echo "CURRENT SPARK HOME ${SPARK_HOME}"
2524
CATALOG_NAME="spark_sql_catalog"
2625
curl -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;
7574
drop namespace db2;
7675
EOF
7776

77+
# clean up the spark_catalog dir
7878
rm -rf /tmp/spark_catalog/
7979

8080
curl -i -X DELETE -H "Authorization: Bearer ${SPARK_BEARER_TOKEN}" -H 'Accept: application/json' -H 'Content-Type: application/json' \

plugins/spark/v3.5/spark/build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919

2020
import 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
2725
val sparkMajorVersion = "3.5"

0 commit comments

Comments
 (0)