Skip to content

StagedDeltaTableV2

StagedDeltaTableV2 is a StagedTable (Spark SQL) and a SupportsWrite (Spark SQL).

Creating Instance

StagedDeltaTableV2 takes the following to be created:

  • Identifier
  • Schema
  • Partitions (Array[Transform])
  • Properties
  • Operation (one of Create, CreateOrReplace, Replace)

StagedDeltaTableV2 is created when DeltaCatalog is requested to stageReplace, stageCreateOrReplace or stageCreate.

commitStagedChanges

commitStagedChanges(): Unit

commitStagedChanges...FIXME

commitStagedChanges is part of the StagedTable (Spark SQL) abstraction.

abortStagedChanges

abortStagedChanges(): Unit

abortStagedChanges does nothing.

abortStagedChanges is part of the StagedTable (Spark SQL) abstraction.

Creating WriteBuilder

newWriteBuilder(
  info: LogicalWriteInfo): V1WriteBuilder

newWriteBuilder...FIXME

newWriteBuilder is part of the SupportsWrite (Spark SQL) abstraction.


Last update: 2020-12-07