WriteIntoDeltaLike¶
WriteIntoDeltaLike
is an abstraction of commands that can write data out into delta tables.
Contract (Subset)¶
writeAndReturnCommitData¶
writeAndReturnCommitData(
txn: OptimisticTransaction,
sparkSession: SparkSession,
clusterBySpecOpt: Option[ClusterBySpec] = None,
isTableReplace: Boolean = false): TaggedCommitData[Action]
Used when:
CreateDeltaTableCommand
is requested to handleCreateTableAsSelectWriteIntoDelta
is executedWriteIntoDeltaLike
is requested to write data out
Implementations¶
Write Data Out¶
write(
txn: OptimisticTransaction,
sparkSession: SparkSession,
clusterBySpecOpt: Option[ClusterBySpec] = None,
isTableReplace: Boolean = false): Seq[Action]
write
writeAndReturnCommitData and returns the Actions.