thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Data & Analytics · Advanced

Pipeline Expectations

Data quality constraints in Lakeflow Declarative Pipelines (DLT) that warn, drop invalid rows or fail the update when records violate them.

Definition

EXPECT alone keeps the row and records a metric, ON VIOLATION DROP ROW removes it, and ON VIOLATION FAIL UPDATE stops the pipeline. Metrics appear in the pipeline event log.

Example

CONSTRAINT valid_id EXPECT (id IS NOT NULL) ON VIOLATION DROP ROW

Exam tip

Know the three behaviors: retain (default), drop row, fail update.

Related terms