From aeaaea4720bcef65a003a2ca2474dde10144f268 Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Thu, 11 Apr 2024 18:39:46 +0530 Subject: [PATCH] Modify and add threshold as status (#15866) --- .../data_quality/validations/table/base/tableCustomSQLQuery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingestion/src/metadata/data_quality/validations/table/base/tableCustomSQLQuery.py b/ingestion/src/metadata/data_quality/validations/table/base/tableCustomSQLQuery.py index 6dd2095c5f9..4896ae7eacc 100644 --- a/ingestion/src/metadata/data_quality/validations/table/base/tableCustomSQLQuery.py +++ b/ingestion/src/metadata/data_quality/validations/table/base/tableCustomSQLQuery.py @@ -91,7 +91,7 @@ class BaseTableCustomSQLQueryValidator(BaseTestValidator): return self.get_test_case_result_object( self.execution_date, status, - f"Found {result_value} row(s). Test query is expected to return 0 row.", + f"Found {result_value} row(s). Test query is expected to return {threshold} row.", [TestResultValue(name=RESULT_ROW_COUNT, value=str(result_value))], )