Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.Advanced TutorialsBuild end-to-end workflows between two specific systems.API ReferenceCLI ReferenceRelease Notes
Version: 2.0.0

Threshold

class
class Threshold

Bases: ABC, JsonSerde

Categories: dq-operator

Abstract base class for the thresholds used by the Fail operator.

A threshold sets how many selected rows trigger the failure: an absolute count (RowCountThreshold) or a percentage (PercentThreshold).

Examples

A threshold says how many selected rows make Fail abort:

Fail(AnyFailed(), RowCountThreshold(1))
Fail(AnyFailed(), PercentThreshold(5))