FailureInfo.scan_parquet#

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

Lazily read a parquet file with the failure info.

Parameters:

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

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()