From 5b33bfb63593af02f24ecd4773968e33ca972dc1 Mon Sep 17 00:00:00 2001 From: Terry Kim Date: Thu, 9 Dec 2021 10:43:32 -0800 Subject: [PATCH] initial commit --- .../sql/connector/DataSourceV2SQLSuite.scala | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/sql/core/src/test/scala/org/apache/spark/sql/connector/DataSourceV2SQLSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/connector/DataSourceV2SQLSuite.scala index 44d79541d6c6..4c5a001ec076 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/connector/DataSourceV2SQLSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/connector/DataSourceV2SQLSuite.scala @@ -1272,22 +1272,6 @@ class DataSourceV2SQLSuite } } - test("ALTER NAMESPACE .. SET LOCATION using v2 catalog") { - withNamespace("testcat.ns1.ns2") { - sql("CREATE NAMESPACE IF NOT EXISTS testcat.ns1.ns2 COMMENT " + - "'test namespace' LOCATION '/tmp/ns_test_1'") - sql("ALTER NAMESPACE testcat.ns1.ns2 SET LOCATION '/tmp/ns_test_2'") - val descriptionDf = sql("DESCRIBE NAMESPACE EXTENDED testcat.ns1.ns2") - assert(descriptionDf.collect() === Seq( - Row("Namespace Name", "ns2"), - Row(SupportsNamespaces.PROP_COMMENT.capitalize, "test namespace"), - Row(SupportsNamespaces.PROP_LOCATION.capitalize, "file:/tmp/ns_test_2"), - Row(SupportsNamespaces.PROP_OWNER.capitalize, defaultUser), - Row("Properties", "")) - ) - } - } - private def testShowNamespaces( sqlText: String, expected: Seq[String]): Unit = {