get_data_quality_result
(**kwargs)¶Retrieves the result of a data quality rule evaluation.
See also: AWS API Documentation
Request Syntax
response = client.get_data_quality_result(
ResultId='string'
)
[REQUIRED]
A unique result ID for the data quality result.
{
'ResultId': 'string',
'Score': 123.0,
'DataSource': {
'GlueTable': {
'DatabaseName': 'string',
'TableName': 'string',
'CatalogId': 'string',
'ConnectionName': 'string',
'AdditionalOptions': {
'string': 'string'
}
}
},
'RulesetName': 'string',
'EvaluationContext': 'string',
'StartedOn': datetime(2015, 1, 1),
'CompletedOn': datetime(2015, 1, 1),
'JobName': 'string',
'JobRunId': 'string',
'RulesetEvaluationRunId': 'string',
'RuleResults': [
{
'Name': 'string',
'Description': 'string',
'EvaluationMessage': 'string',
'Result': 'PASS'|'FAIL'|'ERROR'
},
]
}
Response Structure
A unique result ID for the data quality result.
An aggregate data quality score. Represents the ratio of rules that passed to the total number of rules.
The table associated with the data quality result, if any.
An Glue table.
A database name in the Glue Data Catalog.
A table name in the Glue Data Catalog.
A unique identifier for the Glue Data Catalog.
The name of the connection to the Glue Data Catalog.
Additional options for the table. Currently there are two keys supported:
pushDownPredicate
: to filter on partitions without having to list and read all the files in your dataset.catalogPartitionPredicate
: to use server-side partition pruning using partition indexes in the Glue Data Catalog.The name of the ruleset associated with the data quality result.
In the context of a job in Glue Studio, each node in the canvas is typically assigned some sort of name and data quality nodes will have names. In the case of multiple nodes, the evaluationContext
can differentiate the nodes.
The date and time when the run for this data quality result started.
The date and time when the run for this data quality result was completed.
The job name associated with the data quality result, if any.
The job run ID associated with the data quality result, if any.
The unique run ID associated with the ruleset evaluation.
A list of DataQualityRuleResult
objects representing the results for each rule.
Describes the result of the evaluation of a data quality rule.
The name of the data quality rule.
A description of the data quality rule.
An evaluation message.
A pass or fail status for the rule.
Exceptions
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.InternalServiceException
Glue.Client.exceptions.EntityNotFoundException