CloneTableCommand¶
CloneTableCommand
is a CloneTableBase.
Creating Instance¶
CloneTableCommand
takes the following to be created:
- Source table to clone
- Target table
- User-Defined Table Properties (to override the source table's properties)
- Destination Path (of the target table)
CloneTableCommand
is created when:
DeltaAnalysis
is requested to resolveCloneCommand
handleClone¶
handleClone(
sparkSession: SparkSession,
txn: OptimisticTransaction,
targetDeltaLog: DeltaLog): Seq[Row]
handleClone
...FIXME
handleClone
is used when:
CreateDeltaTableCommand
is requested to handle a transaction commit