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:
DeltaAnalysisis requested to resolveCloneCommand
handleClone¶
handleClone(
sparkSession: SparkSession,
txn: OptimisticTransaction,
targetDeltaLog: DeltaLog): Seq[Row]
handleClone...FIXME
handleClone is used when:
CreateDeltaTableCommandis requested to handle a transaction commit