AddCDCFile¶
AddCDCFile is a FileAction for the change file with Change Data Feed data of the version of a delta table.
AddCDCFile is created when DelayedCommitProtocol is requested to commit a task.
CDF-aware readers are supposed to scan AddCDCFiles for the changes of a delta table.
Creating Instance¶
AddCDCFile takes the following to be created:
- Path
- Partition values (
Map[String, String]) - Size (in bytes)
AddCDCFile is created when:
DelayedCommitProtocolis requested to buildActionFromAddedFile
dataChange¶
dataChange is always false.
Converting to SingleAction¶
wrap creates a new SingleAction with cdc property set to this AddCDCFile.