Fail
classView source ↗
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
criteriaThe criteria for selecting rows to count against the threshold. Defaults to Criteria.any_failed().
parameter
thresholdThe threshold that triggers the failure.
Properties
property
criteriaCriteriaReturns the criteria for this Fail operation.
property
thresholdThresholdReturns the threshold for this Fail operation.