You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/08/31 03:15:37 UTC

[GitHub] [incubator-kyuubi] Yikf commented on a diff in pull request #3379: [KYUUBI #3378][SUBTASK] Improve hive-connector module tests

Yikf commented on code in PR #3379:
URL: https://github.com/apache/incubator-kyuubi/pull/3379#discussion_r959123469


##########
extensions/spark/kyuubi-spark-connector-hive/src/test/scala/org/apache/kyuubi/spark/connector/hive/HiveCatalogSuite.scala:
##########
@@ -41,14 +32,9 @@ class HiveCatalogSuite extends KyuubiFunSuite {
   }
 
   test("supports namespaces") {
-    val sparkConf = new SparkConf()
-      .setMaster("local[*]")
-      .set("spark.ui.enabled", "false")
-      .set("spark.sql.catalogImplementation", "hive")
-      .set("spark.sql.catalog.v2hive_namespaces", classOf[HiveTableCatalog].getName)
-    withSparkSession(SparkSession.builder.config(sparkConf).getOrCreate()) { spark =>
+    withSparkSession() { spark =>
       try {
-        spark.sql("USE v2hive_namespaces")
+        spark.sql("USE v2hive")

Review Comment:
   ok



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org