PercentThreshold
class PercentThreshold(percent: PercentSpec)
Bases: Threshold
Categories: dq-operator
A Fail threshold expressed as a percentage of the table's rows.
Examples
Fail when a twentieth of the table is selected:
Fail(AnyFailed(), PercentThreshold(5))
Parameters
parameter
percentPercentSpec (StrictInt | StrictFloat)Percentage of rows (0 to 100) that, when reached, triggers the failure.