Skip to content

DeltaAnalysis Logical Resolution Rule

DeltaAnalysis is a logical resolution rule (Spark SQL).

Creating Instance

DeltaAnalysis takes the following to be created:

  • SparkSession
  • SQLConf

DeltaAnalysis is created when:

Executing Rule

apply(
  plan: LogicalPlan): LogicalPlan

apply is part of the Rule (Spark SQL) abstraction.

apply resolves logical operators.

AlterTableAddConstraintStatement

apply creates an AlterTable (Spark SQL) logical command with an AddConstraint table change.

AlterTableDropConstraintStatement

apply creates an AlterTable (Spark SQL) logical command with an DropConstraint table change.

AppendDelta

DataSourceV2Relation

DeleteFromTable

DeltaTable

MergeIntoTable

OverwriteDelta

UpdateTable


Last update: 2021-03-02