QuestionQ135

VerifiedData Governance & Quality

A dataset has been defined using Delta Live Tables and includes an expectations clause:

CONSTRAINT valid_timestamp EXPECT (timestamp > '2020-01-01') ON VIOLATION FAIL UPDATE

What is the expected behavior when a batch of data containing data that violates these constraints is processed?

Explanation

When a DLT constraint includes ON VIOLATION FAIL UPDATE, records that violate expectations cause the entire pipeline execution to stop. This is the strongest data quality action, requiring manual investigation and intervention before the pipeline can be resumed.

Community Discussion

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