diff --git a/openmetadata-docs/content/v1.5.x-SNAPSHOT/how-to-guides/data-quality-observability/incident-manager/root-cause-analysis.md b/openmetadata-docs/content/v1.5.x-SNAPSHOT/how-to-guides/data-quality-observability/incident-manager/root-cause-analysis.md index 97866ce89b0..ce54f4f9494 100644 --- a/openmetadata-docs/content/v1.5.x-SNAPSHOT/how-to-guides/data-quality-observability/incident-manager/root-cause-analysis.md +++ b/openmetadata-docs/content/v1.5.x-SNAPSHOT/how-to-guides/data-quality-observability/incident-manager/root-cause-analysis.md @@ -11,7 +11,7 @@ Some tests will produce a failed sample upon failure. This allows the platform u The sample will be collected when the option `computePassedFailedRowCount` is set. -## Supported Test Definitions +### Supported Test Definitions - [Column Values to Be Not Null](/how-to-guides/data-quality-observability/quality/tests-yaml#column-values-to-be-not-null) - [Column Values to Match Regex](/how-to-guides/data-quality-observability/quality/tests-yaml#column-values-to-match-regex) @@ -20,8 +20,9 @@ The sample will be collected when the option `computePassedFailedRowCount` is se - [Column Values to Be Not In Set](/how-to-guides/data-quality-observability/quality/tests-yaml#column-values-to-be-not-in-set) - [Column Values to Be Between](/how-to-guides/data-quality-observability/quality/tests-yaml#column-values-to-be-between) - [Column Values Lengths to Be Between](/how-to-guides/data-quality-observability/quality/tests-yaml#column-values-lengths-to-be-between) +- [Custom SQL](/how-to-guides/data-quality-observability/quality/tests-yaml#table-custom-sql-test) -## Deleting Sample Rows +### Deleting Sample Rows If you wish to delete sample rows, you can do so by clicking on the three dots above the table of sample rows. This will open a window with the `Delete` option. Note that failed sample rows will automatically be deleted upon test success. {% image @@ -29,7 +30,7 @@ src="/images/v1.4/features/ingestion/workflows/data-quality/sample-row-failure-d alt="set compute row count" /%} -## Example +### Example {% image src="/images/v1.4/features/ingestion/workflows/data-quality/set_compute_row_count.png" @@ -38,3 +39,12 @@ alt="set compute row count" ![test definition](/images/v1.4/features/ingestion/workflows/data-quality/failed_rows_sample_1.png) ![failed rows sampls](/images/v1.4/features/ingestion/workflows/data-quality/failed_rows_sample_2.png) + +## Inspection Query + + Supported test will generate an inspection query upon failure. This query can be run on the source data to understand + the nature of the failure and take corrective actions. + + This query can be added to the table and shared with other users. + + ![inspection query](/images/v1.5/features/ingestion/workflows/data-quality/inspection-query.png) \ No newline at end of file diff --git a/openmetadata-docs/images/v1.5/features/ingestion/workflows/data-quality/inspection-query.png b/openmetadata-docs/images/v1.5/features/ingestion/workflows/data-quality/inspection-query.png new file mode 100644 index 00000000000..297968dccdc Binary files /dev/null and b/openmetadata-docs/images/v1.5/features/ingestion/workflows/data-quality/inspection-query.png differ