File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
sql/core/src/test/scala/org/apache/spark/sql/connector Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff 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 = {
You can’t perform that action at this time.
0 commit comments