DataQualityScanRuleResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Information about the result of a data quality rule for data quality scan. The monitored resource is 'DataScan'.
Attributes |
|
---|---|
Name | Description |
job_id |
str
Identifier of the specific data scan job this log entry is for. |
data_source |
str
The data source of the data scan (e.g. BigQuery table name). |
column |
str
The column which this rule is evaluated against. |
rule_name |
str
The name of the data quality rule. |
rule_type |
google.cloud.dataplex_v1.types.DataQualityScanRuleResult.RuleType
The type of the data quality rule. |
evalution_type |
google.cloud.dataplex_v1.types.DataQualityScanRuleResult.EvaluationType
The evaluation type of the data quality rule. |
rule_dimension |
str
The dimension of the data quality rule. |
threshold_percent |
float
The passing threshold ([0.0, 100.0]) of the data quality rule. |
result |
google.cloud.dataplex_v1.types.DataQualityScanRuleResult.Result
The result of the data quality rule. |
evaluated_row_count |
int
The number of rows evaluated against the data quality rule. This field is only valid for rules of PER_ROW evaluation type. |
passed_row_count |
int
The number of rows which passed a rule evaluation. This field is only valid for rules of PER_ROW evaluation type. |
null_row_count |
int
The number of rows with null values in the specified column. |
Classes
EvaluationType
EvaluationType(value)
The evaluation type of the data quality rule.
Values: EVALUATION_TYPE_UNSPECIFIED (0): An unspecified evaluation type. PER_ROW (1): The rule evaluation is done at per row level. AGGREGATE (2): The rule evaluation is done for an aggregate of rows.
Result
Result(value)
Whether the data quality rule passed or failed.
Values: RESULT_UNSPECIFIED (0): An unspecified result. PASSED (1): The data quality rule passed. FAILED (2): The data quality rule failed.
RuleType
RuleType(value)
The type of the data quality rule.
Values: RULE_TYPE_UNSPECIFIED (0): An unspecified rule type. NON_NULL_EXPECTATION (1): Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. RANGE_EXPECTATION (2): Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. REGEX_EXPECTATION (3): Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. ROW_CONDITION_EXPECTATION (4): Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. SET_EXPECTATION (5): Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. STATISTIC_RANGE_EXPECTATION (6): Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. TABLE_CONDITION_EXPECTATION (7): Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. UNIQUENESS_EXPECTATION (8): Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation.