CreateMaterializedViewAsSelect Logical Operator¶
CreateMaterializedViewAsSelect
is a CreatePipelineDatasetAsSelect binary logical command that represents CREATE MATERIALIZED VIEW ... AS SQL statement in Spark Declarative Pipelines framework.
CreateMaterializedViewAsSelect
is handled by SqlGraphRegistrationContext.
Creating Instance¶
CreateMaterializedViewAsSelect
takes the following to be created:
- Name (LogicalPlan)
- Columns (
ColumnDefinition
s) - Partitioning (Transform)
-
TableSpecBase
- LogicalPlan
- SQL Text
-
ifNotExists
flag
CreateMaterializedViewAsSelect
is created when:
SparkSqlAstBuilder
is requested to parse CREATE MATERIALIZED VIEW ... AS SQL statement