Skip to content

Commit 5b33bfb

Browse files
committed
initial commit
1 parent 7b00011 commit 5b33bfb

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

sql/core/src/test/scala/org/apache/spark/sql/connector/DataSourceV2SQLSuite.scala

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,22 +1272,6 @@ class DataSourceV2SQLSuite
12721272
}
12731273
}
12741274

1275-
test("ALTER NAMESPACE .. SET LOCATION using v2 catalog") {
1276-
withNamespace("testcat.ns1.ns2") {
1277-
sql("CREATE NAMESPACE IF NOT EXISTS testcat.ns1.ns2 COMMENT " +
1278-
"'test namespace' LOCATION '/tmp/ns_test_1'")
1279-
sql("ALTER NAMESPACE testcat.ns1.ns2 SET LOCATION '/tmp/ns_test_2'")
1280-
val descriptionDf = sql("DESCRIBE NAMESPACE EXTENDED testcat.ns1.ns2")
1281-
assert(descriptionDf.collect() === Seq(
1282-
Row("Namespace Name", "ns2"),
1283-
Row(SupportsNamespaces.PROP_COMMENT.capitalize, "test namespace"),
1284-
Row(SupportsNamespaces.PROP_LOCATION.capitalize, "file:/tmp/ns_test_2"),
1285-
Row(SupportsNamespaces.PROP_OWNER.capitalize, defaultUser),
1286-
Row("Properties", ""))
1287-
)
1288-
}
1289-
}
1290-
12911275
private def testShowNamespaces(
12921276
sqlText: String,
12931277
expected: Seq[String]): Unit = {

0 commit comments

Comments
 (0)