CreateMaterializedViewAsSelect Logical Operator¶
CreateMaterializedViewAsSelect
is a CreatePipelineDatasetAsSelect logical operator that represents CREATE MATERIALIZED VIEW SQL statement.
CreateMaterializedViewAsSelect
is handled by SqlGraphRegistrationContext in Spark Declarative Pipelines framework.
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 SQL statement