Github user clockfly commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14897#discussion_r77265560
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/views.scala ---
    @@ -198,10 +219,12 @@ case class CreateViewCommand(
     }
     
     /**
    - * Alter a view with given query plan. If the view name contains database 
prefix, this command will
    - * alter a permanent view matching the given name, or throw an exception 
if view not exist. Else,
    - * this command will try to alter a temporary view first, if view not 
exist, try permanent view
    - * next, if still not exist, throw an exception.
    + * Alter a view with given query plan.
    + *
    + * If the view name contains database prefix, this command will alter a 
permanent view matching the
    --- End diff --
    
    We may want separate command for alter global view.
    
    It is not safe for a user to be able to alter a global view directly. 


---
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

Reply via email to