Fix Total Count (#24317)

This commit is contained in:
IceS2 2025-11-13 13:32:05 +01:00 committed by GitHub
parent c13ae7269d
commit 604bc03f9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -160,7 +160,7 @@ class BaseColumnValuesToMatchRegexValidator(BaseTestValidator):
)
match_regex_count = metric_values[Metrics.REGEX_COUNT.name]
count = metric_values[Metrics.COUNT.name]
total_rows = metric_values[Metrics.ROW_COUNT.name]
total_rows = metric_values.get(Metrics.ROW_COUNT.name)
matched = count == match_regex_count
failed_count = count - match_regex_count