errors.ValidationAbortError

A row failed an "error" rule and the asset has filter=False, so it writes nothing.

Usage

Source

errors.ValidationAbortError(
    schema_name,
    error_count,
    counts,
)

With filter=False, every row has to pass every "error" rule. No setting drops the failing rows: filter=True writes them as error rows, and only the asset body can drop them.

Methods

Name Description
__init__() Give the failure count per "error" rule, and the four fixes.

__init__()

Give the failure count per "error" rule, and the four fixes.

Usage

Source

__init__(schema_name, error_count, counts)
Parameters
counts: Mapping[str, int]
The failure count for each "error" rule that any row failed. The counts can add up to more than error_count, because one row can fail several rules.