Skip to content

WriteIntoDeltaBuilder

WriteIntoDeltaBuilder is a WriteBuilder (Spark SQL) with support for the following capabilities:

Creating Instance

WriteIntoDeltaBuilder takes the following to be created:

WriteIntoDeltaBuilder is created when:

buildForV1Write

buildForV1Write(): InsertableRelation

buildForV1Write is part of the V1WriteBuilder (Spark SQL) abstraction.

buildForV1Write creates an InsertableRelation (Spark SQL) that does the following when requested to insert:

  1. Creates and executes a WriteIntoDelta command
  2. Re-cache all cached plans (by requesting the CacheManager to recacheByPlan for a LogicalRelation over the BaseRelation of the DeltaLog)