Github user dongjoon-hyun commented on a diff in the pull request: https://github.com/apache/spark/pull/14897#discussion_r77008695 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/command/views.scala --- @@ -255,3 +287,43 @@ case class AlterViewAsCommand( session.sessionState.catalog.alterTable(updatedViewMeta) } } + +/** + * Drops a view which matches the given name. + * + * If the view name contains database prefix, this command will drop a permanent view matching the + * given name, or throw an exception if view not exist. Else, this command will try to drop a local + * temporary view first, if view not exist, try global temporary view next, if still not exist, try --- End diff -- Could you add `DROP GLOBAL VIEW` like `CREATE GLOBAL TEMPORARY VIEW`?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org