rdblue commented on a change in pull request #26166: [SPARK-29511][SQL] DataSourceV2: Support CREATE NAMESPACE URL: https://github.com/apache/spark/pull/26166#discussion_r336710390
########## File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/v2Commands.scala ########## @@ -237,6 +237,16 @@ case class ReplaceTableAsSelect( } } +/** + * The logical plan of the CREATE NAMESPACE command that works for v2 catalogs. + */ +case class CreateNamespace( + catalog: SupportsNamespaces, + namespace: Seq[String], + ifNotExists: Boolean, + comment: Option[String], + locationSpec: Option[String], Review comment: Comment and location should be converted to properties and shouldn't be in the v2 logical plan. ---------------------------------------------------------------- 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]
