StagedDeltaTableV2 is a StagedTable and a SupportsWrite (both from Spark SQL 3.0.0).
== [[creating-instance]] Creating Instance
StagedDeltaTableV2 takes the following to be created:
- [[ident]] Identifier
- [[schema]] Schema
- [[partitions]] Partitions (
- [[properties]] Properties
- [[operation]] Operation (one of Create, CreateOrReplace, Replace)
StagedDeltaTableV2 is created when DeltaCatalog is requested to DeltaCatalog.md#stageReplace[stageReplace], DeltaCatalog.md#stageCreateOrReplace[stageCreateOrReplace] or DeltaCatalog.md#stageCreate[stageCreate].
== [[commitStagedChanges]] commitStagedChanges
commitStagedChanges is part of the StagedTable (Spark SQL 3.0.0) abstraction.
== [[abortStagedChanges]] abortStagedChanges
abortStagedChanges does nothing.
abortStagedChanges is part of the StagedTable (Spark SQL 3.0.0) abstraction.
== [[newWriteBuilder]] newWriteBuilder
newWriteBuilder( info: LogicalWriteInfo): V1WriteBuilder
newWriteBuilder is part of the SupportsWrite (Spark SQL 3.0.0) abstraction.