2024-08-21 17:36:06 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								---
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								title: Root Cause Analysis
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								slug: /how-to-guides/data-quality-observability/incident-manager/root-cause-analysis
							 
						 
					
						
							
								
									
										
										
										
											2024-11-15 14:13:22 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Collate: true
							 
						 
					
						
							
								
									
										
										
										
											2024-08-21 17:36:06 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								---
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# Root Cause Analysis
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## Failed Rows Sample
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Some tests will produce a failed sample upon failure. This allows the platform users to understand the nature of the failure and take corrective actions. The failed sample will be a subset of the rows that failed the test.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The sample will be collected when the option `computePassedFailedRowCount`  is set.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-08-22 08:58:41 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								### Supported Test Definitions
  
						 
					
						
							
								
									
										
										
										
											2024-08-21 17:36:06 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [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 ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Column Values to not Match Regex ](/how-to-guides/data-quality-observability/quality/tests-yaml#column-values-to-not-match-regex ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Column Values to Be in Set ](/how-to-guides/data-quality-observability/quality/tests-yaml#column-values-to-be-in-set ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [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 ) 
						 
					
						
							
								
									
										
										
										
											2024-08-22 08:58:41 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  [Custom SQL ](/how-to-guides/data-quality-observability/quality/tests-yaml#table-custom-sql-test ) 
						 
					
						
							
								
									
										
										
										
											2024-08-21 17:36:06 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-08-22 08:58:41 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								### Deleting Sample Rows
  
						 
					
						
							
								
									
										
										
										
											2024-08-21 17:36:06 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								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 
							 
						 
					
						
							
								
									
										
										
										
											2024-10-22 16:35:27 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								src="/images/v1.5/features/ingestion/workflows/data-quality/sample-row-failure-deletion.png"
							 
						 
					
						
							
								
									
										
										
										
											2024-08-21 17:36:06 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								alt="set compute row count"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								/%}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-08-22 08:58:41 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								### Example
  
						 
					
						
							
								
									
										
										
										
											2024-08-21 17:36:06 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% image 
							 
						 
					
						
							
								
									
										
										
										
											2024-10-22 16:35:27 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								src="/images/v1.5/features/ingestion/workflows/data-quality/set_compute_row_count.png"
							 
						 
					
						
							
								
									
										
										
										
											2024-08-21 17:36:06 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								alt="set compute row count"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								/%}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-10-22 16:35:27 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-08-22 08:58:41 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## 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.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								 