QuestionQ46
VerifiedData Transformation, Cleansing, and QualityDownstream consumers of a Delta Lake table have reported data-quality issues that affect performance in their applications. In particular, invalid latitude and longitude values in the activity_details table have prevented them from using other geolocation processes.
A junior engineer wrote the following code to add CHECK constraints to the Delta Lake table:

A senior engineer has confirmed that this logic is correct and that the valid latitude and longitude ranges are provided, but the code fails when it is run.
Which statement explains the cause of this failure?
Community Discussion