
Ultimate access to all questions.
A data engineer has implemented an ETL pipeline using Delta Live Tables to manage travel reimbursement details. They need to ensure the pipeline terminates when location details are missing from employee submissions.
What is the difference between using ON VIOLATION DROP ROW and ON VIOLATION FAIL UPDATE for handling constraint violations in this scenario, and which approach should be used to meet the requirement?
A
CONSTRAINT valid_location EXPECT (location = NULL)_
B
CONSTRAINT valid_location EXPECT (location != NULL) ON VIOLATION FAIL UPDATE_
C
CONSTRAINT valid_location EXPECT (location != NULL) ON DROP ROW_
D
CONSTRAINT valid_location EXPECT (location != NULL) ON VIOLATION FAIL_