QuestionQ112

VerifiedData Processing & Transformations

When using MERGE INTO in Delta Lake on Databricks, which clause lets you atomically delete target rows that no longer have any matching source rows?

Explanation

WHEN NOT MATCHED BY SOURCE THEN DELETE deletes target-table rows for which no source row satisfies the merge condition. Delta Lake executes this deletion as part of the same atomic MERGE operation.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!