run(session: SparkSession): Seq[Row]
AlterViewAsCommand Logical Command
AlterViewAsCommand
is a logical command for ALTER VIEW
SQL statement to alter a view.
AlterViewAsCommand
works with a table identifier (as TableIdentifier
), the original SQL text, and a LogicalPlan for the SQL query.
Note
|
AlterViewAsCommand is described by alterViewQuery labeled alternative in statement expression in SqlBase.g4 and parsed using SparkSqlParser.
|
When executed, AlterViewAsCommand
attempts to alter a temporary view in the current SessionCatalog
first, and if that "fails", alters the permanent view.
Executing Logical Command — run
Method
Note
|
run is part of RunnableCommand Contract to execute (run) a logical command.
|
run
…FIXME