This is an automated email from the ASF dual-hosted git repository.
fanng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino-playground.git
The following commit(s) were added to refs/heads/main by this push:
new 33d11d9 cherry pick Spark SQL client insert data failed (#126)
33d11d9 is described below
commit 33d11d9417a0a9ecfab5cc0385051ad132cd05c6
Author: FANNG <[email protected]>
AuthorDate: Wed Jan 22 15:06:32 2025 +0800
cherry pick Spark SQL client insert data failed (#126)
#101 fixed Spark SQL client insert data failed, but the code is removed
in
https://github.com/apache/gravitino-playground/commit/8f08175bb40e2703cbac291baccd51fe5f7cefad#diff-1e9bab7fc3d1eb0eea31098ebba1b38d6cd2298c90d970f6ff34e02fde9395d3
unexpectedly. re cherry pick it.
---
init/spark/spark-defaults.conf | 4 ++--
playground.sh | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/init/spark/spark-defaults.conf b/init/spark/spark-defaults.conf
index 446f865..50012a3 100644
--- a/init/spark/spark-defaults.conf
+++ b/init/spark/spark-defaults.conf
@@ -27,5 +27,5 @@ spark.sql.catalog.catalog_rest.type rest
spark.sql.catalog.catalog_rest.uri http://gravitino:9001/iceberg/
spark.locality.wait.node 0
spark.sql.warehouse.dir hdfs://hive:9000/user/hive/warehouse
-spark.sql.hive.metastore.jars path
-spark.sql.hive.metastore.jars.path file:///opt/spark/jars/*
+spark.sql.catalog.catalog_hive.spark.sql.hive.metastore.jars path
+spark.sql.catalog.catalog_hive.spark.sql.hive.metastore.jars.path
file:///opt/spark/jars/*
diff --git a/playground.sh b/playground.sh
index b1df4ee..d6c4072 100755
--- a/playground.sh
+++ b/playground.sh
@@ -18,6 +18,8 @@
# under the License.
#
+set -e
+
playground_dir="$(dirname "${BASH_SOURCE-$0}")"
playground_dir="$(
cd "${playground_dir}" >/dev/null || exit 1