AlterViewAsCommand Logical Command

AlterViewAsCommand is a logical command to alter a view.

AlterViewAsCommand works with a table identifier (as TableIdentifier), the original SQL text, and a LogicalPlan for the SQL query.

AlterViewAsCommand corresponds to ALTER VIEW in SQL.

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.

run Method

Caution
FIXME

alterPermanentView Method

Caution
FIXME

results matching ""

    No results matching ""