WriteIntoDeltaBuilder¶
WriteIntoDeltaBuilder
is a WriteBuilder
(Spark SQL) with support for the following capabilities:
Creating Instance¶
WriteIntoDeltaBuilder
takes the following to be created:
- DeltaLog
- Write-Specific Options
WriteIntoDeltaBuilder
is created when:
DeltaTableV2
is requested for a WriteBuilder
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
:
- Creates and executes a WriteIntoDelta command
- Re-cache all cached plans (by requesting the
CacheManager
torecacheByPlan
for aLogicalRelation
over the BaseRelation of the DeltaLog)