Skip to content

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:

Implementations

Write Data Out

write(
  txn: OptimisticTransaction,
  sparkSession: SparkSession,
  clusterBySpecOpt: Option[ClusterBySpec] = None,
  isTableReplace: Boolean = false): Seq[Action]

write writeAndReturnCommitData and returns the Actions.