mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-27 12:33:37 +00:00
* Fix #6571: Add EntityLink for the testCase to ID columns * Fix #6571: Add EntityLink for the testCase to ID columns * Fix #6782: Separate TableProfile and ColumnProfile api calls * Fix #6782: Separate TableProfile and ColumnProfile api calls - fix tests * Fix #6782: Separate TableProfile and ColumnProfile api calls - fix tests * Fix setFields * Fix tests * Update pipeline status endpoint * updated ui side as per new schema for profiler tab * updated profiler details with new API * Fix Profiler tests and validation errors (#6827) * add profilerSample field in TableProfile * add profilerSample field in TableProfile * get columnProfile with field profile * get columnProfile with field profile * Fixed sample data and python tests * fixed date range filter change issue * handled empty profiler case * Added column level test case and results Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com> Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com> Co-authored-by: Ayush Shah <ayush@getcollate.io> Co-authored-by: Teddy Crepineau <teddy.crepineau@gmail.com>
83 lines
3.5 KiB
JSON
83 lines
3.5 KiB
JSON
{
|
|
"tests": [
|
|
{
|
|
"testSuiteName": "critical_metrics_suite",
|
|
"testSuiteDescription": "This is a critical test suite running tests important for the business",
|
|
"scheduleInterval": "0 0 * * MON",
|
|
"testCases": [
|
|
{
|
|
"name": "table_column_count_equals",
|
|
"description": "test the number of column in table",
|
|
"entityLink": "<#E::table::sample_data.ecommerce_db.shopify.dim_address>",
|
|
"testDefinitionName": "TableColumnCountToEqual",
|
|
"parameterValues": [
|
|
{
|
|
"name": "columnCount",
|
|
"value": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "table_column_count_between",
|
|
"description": "test the number of column in table is between x and y",
|
|
"entityLink": "<#E::table::sample_data.ecommerce_db.shopify.dim_address>",
|
|
"testDefinitionName": "TableColumnCountToBeBetween",
|
|
"parameterValues": [
|
|
{
|
|
"name": "minColValue",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "maxColValue",
|
|
"value": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "column_value_max_to_be_between",
|
|
"description": "test the value of a column is between x and y",
|
|
"entityLink": "<#E::table::sample_data.ecommerce_db.shopify.dim_address::columns::shop_id>",
|
|
"testDefinitionName": "ColumnValueMaxToBeBetween",
|
|
"parameterValues": [
|
|
{
|
|
"name": "minValueForMaxInCol",
|
|
"value": 50
|
|
},
|
|
{
|
|
"name": "maxValueForMaxInCol",
|
|
"value": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "column_values_to_match_regex",
|
|
"description": "test value of a column match regex",
|
|
"entityLink": "<#E::table::sample_data.ecommerce_db.shopify.dim_address::columns::last_name>",
|
|
"testDefinitionName": "ColumnValuesToMatchRegex",
|
|
"parameterValues": [
|
|
{
|
|
"name": "regex",
|
|
"value": "Doe.*"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "column_values_to_be_between",
|
|
"description": "test the number of column in table is between x and y",
|
|
"entityLink": "<#E::table::sample_data.ecommerce_db.shopify.dim_address::columns::zip>",
|
|
"testDefinitionName": "ColumnValuesToBeBetween",
|
|
"parameterValues": [
|
|
{
|
|
"name": "min",
|
|
"value": 90001
|
|
},
|
|
{
|
|
"name": "max",
|
|
"value": 96162
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |