Class DataQualityRuleResult (2.1.0)

DataQualityRuleResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

DataQualityRuleResult provides a more detailed, per-rule view of the results.

Attributes

Name Description
rule google.cloud.dataplex_v1.types.DataQualityRule
The rule specified in the DataQualitySpec, as is.
passed bool
Whether the rule passed or failed.
evaluated_count int
The number of rows a rule was evaluated against. This field is only valid for row-level type rules. Evaluated count can be configured to either - include all rows (default) - with null rows automatically failing rule evaluation, or - exclude null rows from the evaluated_count, by setting ignore_nulls = true.
passed_count int
The number of rows which passed a rule evaluation. This field is only valid for row-level type rules.
null_count int
The number of rows with null values in the specified column.
pass_ratio float
The ratio of **passed_count / evaluated_count**. This field is only valid for row-level type rules.
failing_rows_query str
The query to find rows that did not pass this rule. This field is only valid for row-level type rules.
assertion_row_count int
Output only. The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.