Skip to main content
Version: 1.7.1

Fail

class Fail(criteria: Criteria, threshold: Threshold)

Bases: CriteriaOperator

Categories: dq-operator

An operator that fails the current transaction if a data quality threshold is met.

Initializes the Fail operator.

Parameters

parameter
criteria

The criteria for selecting rows to count against the threshold. Defaults to Criteria.any_failed().

parameter
threshold

The threshold that triggers the failure.

Properties

property
criteriaCriteria

Returns the criteria for this Fail operation.

property
thresholdThreshold

Returns the threshold for this Fail operation.