fuwhu commented on a change in pull request #26551: [SPARK-29858][SQL] ALTER
DATABASE (SET DBPROPERTIES) should look up catalog like v2 commands
URL: https://github.com/apache/spark/pull/26551#discussion_r347084412
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/connector/DataSourceV2SQLSuite.scala
##########
@@ -933,6 +933,21 @@ class DataSourceV2SQLSuite
}
}
+ test("AlterNamespaceSetProperties using v2 catalog") {
+ withNamespace("testcat.ns1.ns2") {
+ sql("CREATE NAMESPACE IF NOT EXISTS testcat.ns1.ns2 COMMENT " +
+ "'test namespace' LOCATION '/tmp/ns_test' WITH PROPERTIES
('a'='a','b'='b','c'='c')")
+ sql("ALTER NAMESPACE testcat.ns1.ns2 SET PROPERTIES
('a'='b','b'='c','c'='a')")
Review comment:
thanks, updated.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]