QuestionQ59

VerifiedData Transformation, Cleansing, and Quality

A defective IoT sensor in a factory reports a temperature of -500, which causes the LDP pipeline to fail its expectation that permits only values from -100 to 200 degrees Celsius. The data engineer wants to further analyze the faulty data to better understand its cause.

How should the data engineer address the faulty data while maintaining data-quality standards?

Explanation

An expectation configured to fail stops the pipeline when it encounters an out-of-range value. The appropriate remediation is to correct the pipeline’s invalid-data handling and quarantine the failing record in a separate dataset, allowing investigation and later reprocessing without allowing the record to contaminate the validated output. Databricks states that an expectation failure requires fixing the pipeline code before rerunning and supports quarantine patterns for invalid records.

Learn more

Community Discussion

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