Skip to content

PreprocessTableMerge Logical Resolution Rule

PreprocessTableMerge is a post-hoc logical resolution rule (Rule[LogicalPlan]) to <> in a query plan into[]s.

PreprocessTableMerge is installed (injected) into a SparkSession using[].

== [[creating-instance]][[conf]] Creating Instance

PreprocessTableMerge takes a single SQLConf to be created.

PreprocessTableMerge is created when:

  • DeltaMergeBuilder is executed

  • DeltaSparkSessionExtension is requested to[register Delta SQL support]

== [[apply]] Executing Rule

[source, scala]

apply( plan: LogicalPlan): LogicalPlan

apply resolves (replaces)[] logical commands (in a logical query plan) into corresponding[]s.

apply is part of the Spark SQL's Rule abstraction.

Last update: 2020-09-24