DeduplicateCDFDeletes¶
DeduplicateCDFDeletes
supports execution of ClassicMergeExecutor to write out merge changes to a target delta table (when there are files to rewrite) with Change Data Feed enabled.
More precisely, DeduplicateCDFDeletes
is an input argument of MergeOutputGenerations when requested for the following:
Creating Instance¶
DeduplicateCDFDeletes
takes the following to be created:
DeduplicateCDFDeletes
is created when:
ClassicMergeExecutor
is requested to find files to rewrite
enabled Flag¶
DeduplicateCDFDeletes
is given an enabled
flag when created based on the following:
- Whether there are multiple matches (
hasMultipleMatches
) - enableChangeDataFeed table property
includesInserts Flag¶
DeduplicateCDFDeletes
is given an includesInserts
flag when created.
includesInserts
flag is enabled (true
) when a merge command includes WHEN NOT MATCHED THEN INSERT clauses.