StagedDeltaTableV2

StagedDeltaTableV2 is a StagedTable and a SupportsWrite (both from Spark SQL 3.0.0).

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 3.0.0) abstraction.

abortStagedChanges

abortStagedChanges(): Unit

abortStagedChanges does nothing.

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

newWriteBuilder

newWriteBuilder(
  info: LogicalWriteInfo): V1WriteBuilder

newWriteBuilder…​FIXME

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