{ "name": "tableCustomSQLQuery", "fullyQualifiedName": "tableCustomSQLQuery", "displayName": "Custom SQL Query", "description": "Test if a custom SQL returns 0 row or `COUNT() == 0`", "entityType": "TABLE", "testPlatforms": ["OpenMetadata"], "parameterDefinition": [ { "name": "sqlExpression", "displayName": "SQL Expression", "description": "SQL expression to run against the table", "dataType": "STRING", "required": "true" }, { "name": "strategy", "displayName": "Strategy", "description": "Strategy to use to run the custom SQL query (i.e. `SELECT COUNT()` or `SELECT (defaults to ROWS)", "dataType": "ARRAY", "optionValues": ["ROWS", "COUNT"], "required": false }, { "name": "threshold", "displayName": "Threshold", "description": "Threshold to use to determine if the test passes or fails (defaults to 0).", "dataType": "NUMBER", "required": false } ] }