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_r347084420
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/v2Commands.scala
##########
@@ -270,6 +270,16 @@ case class DescribeNamespace(
new MetadataBuilder().putString("comment", "value of the
column").build())())
}
+/**
+ * The logical plan of the ALTER (DATABASE|SCHEMA|NAMESPACE) ... SET
DBPROPERTIES command
+ * that works for v2 catalogs.
+ */
+case class AlterNamespaceSetProperties(
+ catalog: CatalogPlugin,
+ namespace: Seq[String],
+ properties: Map[String, String]
+ ) extends Command
Review comment:
fixed
----------------------------------------------------------------
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]