Inherited from Serializable
Inherited from Serializable
Inherited from Command
Inherited from LeafNode
Inherited from LogicalPlan
Inherited from Logging
Inherited from QueryPlan[LogicalPlan]
Inherited from TreeNode[LogicalPlan]
Inherited from Product
Inherited from Equals
Inherited from AnyRef
Inherited from Any
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.
the catalog table
the logical plan that represents the view; this is used to generate a canonicalized version of the SQL that can be saved in the catalog.