errors.ColumnSchemaError
A frame’s columns or dtypes do not match the schema.
Usage
errors.ColumnSchemaError(
schema_name,
problems,
)This is a bug in the pipeline, not bad data, so the run fails before Schema.filter runs, and the asset writes nothing.
Methods
| Name | Description |
|---|---|
| __init__() | Name each mismatched column with its expected and actual dtype. |
__init__()
Name each mismatched column with its expected and actual dtype.
Usage
__init__(schema_name, problems)Parameters
problems: Sequence[Mapping[str, str]]-
One mapping of
column,expectedandactualper mismatched column, as_column_schema_problemsreturns.