This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What happens when Delta Lake's schema enforcement encounters a string value that cannot be cast to the target column's integer type?
The value is automatically converted to NULL
The write operation raises an error
The value is stored as a string in a rescued data column
Which function should be used to convert values between data types when invalid values should return NULL instead of raising an error?
cast()
convert()
try_cast()
What is the purpose of the rescuedDataColumn option when using Auto Loader to handle schema drift?
To store column names that have been renamed in the source
To capture data that does not match the expected schema without blocking the pipeline
To automatically correct data type errors in the source files
What action does the expect_or_drop expectation take when a record violates the defined constraint?
Logs a warning and writes the record to the target table
Stops the pipeline and rolls back any partial updates
Removes the record before writing to the target table
Which constraint type should be added to a Delta Lake table to ensure that a price column always contains positive values?
NOT NULL constraint
CHECK constraint
PRIMARY KEY constraint
What is the behavior when a Lakeflow Spark Declarative Pipeline has multiple parallel flows and one flow encounters an expect_or_fail expectation violation?
All flows in the pipeline stop immediately
Only the flow with the violation stops while other flows continue
The pipeline pauses all flows and waits for manual intervention
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?