errors.ValidationAbortError

Rows failed validation and the asset declares no quarantine, so it writes nothing.

Usage

Source

errors.ValidationAbortError(
    schema_name,
    invalid_count,
    counts,
)

Without a quarantine, every row has to be valid. No setting drops the invalid rows and writes the rest: to drop rows, filter them in the asset body.

Methods

Name Description
__init__() Give the failure count per rule, and the three fixes.

__init__()

Give the failure count per rule, and the three fixes.

Usage

Source

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