Class: Google::Cloud::Dataplex::V1::DataQualityRuleResult
- Inherits:
-
Object
- Object
- Google::Cloud::Dataplex::V1::DataQualityRuleResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataplex/v1/data_quality.rb
Overview
DataQualityRuleResult provides a more detailed, per-rule view of the results.
Instance Attribute Summary collapse
-
#assertion_row_count ⇒ ::Integer
readonly
Output only.
-
#evaluated_count ⇒ ::Integer
The number of rows a rule was evaluated against.
-
#failing_rows_query ⇒ ::String
The query to find rows that did not pass this rule.
-
#null_count ⇒ ::Integer
The number of rows with null values in the specified column.
-
#pass_ratio ⇒ ::Float
The ratio of passed_count / evaluated_count.
-
#passed ⇒ ::Boolean
Whether the rule passed or failed.
-
#passed_count ⇒ ::Integer
The number of rows which passed a rule evaluation.
-
#rule ⇒ ::Google::Cloud::Dataplex::V1::DataQualityRule
The rule specified in the DataQualitySpec, as is.
Instance Attribute Details
#assertion_row_count ⇒ ::Integer (readonly)
Returns 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.
248 249 250 251 |
# File 'proto_docs/google/cloud/dataplex/v1/data_quality.rb', line 248 class DataQualityRuleResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#evaluated_count ⇒ ::Integer
Returns 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 theevaluated_count
, by settingignore_nulls = true
.
248 249 250 251 |
# File 'proto_docs/google/cloud/dataplex/v1/data_quality.rb', line 248 class DataQualityRuleResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#failing_rows_query ⇒ ::String
Returns The query to find rows that did not pass this rule.
This field is only valid for row-level type rules.
248 249 250 251 |
# File 'proto_docs/google/cloud/dataplex/v1/data_quality.rb', line 248 class DataQualityRuleResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#null_count ⇒ ::Integer
Returns The number of rows with null values in the specified column.
248 249 250 251 |
# File 'proto_docs/google/cloud/dataplex/v1/data_quality.rb', line 248 class DataQualityRuleResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#pass_ratio ⇒ ::Float
Returns The ratio of passed_count / evaluated_count.
This field is only valid for row-level type rules.
248 249 250 251 |
# File 'proto_docs/google/cloud/dataplex/v1/data_quality.rb', line 248 class DataQualityRuleResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#passed ⇒ ::Boolean
Returns Whether the rule passed or failed.
248 249 250 251 |
# File 'proto_docs/google/cloud/dataplex/v1/data_quality.rb', line 248 class DataQualityRuleResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#passed_count ⇒ ::Integer
Returns The number of rows which passed a rule evaluation.
This field is only valid for row-level type rules.
248 249 250 251 |
# File 'proto_docs/google/cloud/dataplex/v1/data_quality.rb', line 248 class DataQualityRuleResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#rule ⇒ ::Google::Cloud::Dataplex::V1::DataQualityRule
Returns The rule specified in the DataQualitySpec, as is.
248 249 250 251 |
# File 'proto_docs/google/cloud/dataplex/v1/data_quality.rb', line 248 class DataQualityRuleResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |