{ "required_tables": [ { "name": "rocpd_string", "required_columns": [ "id", "guid", "string" ], "validation_queries": [ { "comparison": "greater_than", "description": "Check if 'timer sampling' exists in string entries", "error_message": "'timer sampling' string not found in rocpd_string", "expected_result": 0, "query": "SELECT COUNT(*) FROM rocpd_string WHERE string LIKE '%timer_sampling%';" }, { "comparison": "equals", "description": "Verify no empty string values", "error_message": "Empty or NULL string entries found in view_rocpd_string", "expected_result": 0, "query": "SELECT COUNT(*) FROM rocpd_string WHERE string IS NULL OR TRIM(string) = '';" } ] }, { "name": "rocpd_sample", "required_columns": [ "id", "guid", "track_id", "timestamp", "event_id" ], "validation_queries": [ { "comparison": "greater_than", "description": "Check that ROCpd contains more than 1000 timer_sampling samples", "error_message": "Less than 1001 'timer_sampling' entries found in rocpd_sample", "expected_result": 1000, "query": "SELECT COUNT(*) FROM rocpd_sample R INNER JOIN rocpd_event E ON E.id = R.event_id AND E.guid = R.guid INNER JOIN rocpd_string S ON S.id = E.category_id AND S.guid = E.guid WHERE S.string = 'timer_sampling';" }, { "comparison": "equals", "description": "Verify no NULL or empty values in guid column", "error_message": "NULL or empty guid values found in rocpd_sample", "expected_result": 0, "query": "SELECT COUNT(*) FROM rocpd_sample WHERE guid IS NULL OR TRIM(guid) = '';" } ] } ] }