Skip to main content

Root Cause Analysis

Collate provides two tools to help you identify the root cause of a test failure: failed row samples and inspection queries.

Failed Rows Sample

Some tests produce a failed row sample when they fail. This helps you understand what caused the failure and take corrective action. The failed sample is a subset of the rows that failed the test. The sample will be collected when the option computePassedFailedRowCount is set.

Supported Test Definitions

The following test types produce a failed row sample on failure:

Deleting Sample Rows

To delete sample rows, click the three dots above the sample rows table and select Delete. Failed sample rows are automatically deleted when the test passes. Sample row deletion confirmation

Example

The screenshots below show how to enable the option and what a failed row sample looks like in the UI. Enabling the computePassedFailedRowCount option Failed rows sample configuration Failed rows sample

Inspection Query

Supported tests generate an inspection query when a test fails. Run this query on the source data to understand what caused the failure and take corrective action. Add this query to the table to share it with other users. Inspection query panel