DeltaAnalysis Logical Resolution Rule

DeltaAnalysis is a logical resolution rule (Spark SQL’s Rule[LogicalPlan]) for INSERT INTO and INSERT OVERWRITE SQL commands (and DeleteFromTable, UpdateTable, MergeIntoTable).

Creating Instance

DeltaAnalysis takes the following to be created:

  • SparkSession

  • SQLConf

DeltaAnalysis is created when DeltaSparkSessionExtension is requested to register Delta SQL support.

Executing Rule

apply(
  plan: LogicalPlan): LogicalPlan

apply…​FIXME

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