FailureInfo.read_parquet#

classmethod FailureInfo.read_parquet(
source: str | Path | IO[bytes],
**kwargs: Any,
) FailureInfo[Schema][source]#

Read a parquet file with the failure info.

Parameters:
  • source – Path, directory, or file-like object from which to read the data.

  • kwargs – Additional keyword arguments passed directly to polars.read_parquet().

Returns:

The failure info object.

Raises:

ValueError – If no appropriate metadata can be found.

Attention

Be aware that this method suffers from the same limitations as Schema.serialize()