FailureInfo.write_parquet#

FailureInfo.write_parquet(
file: str | Path | IO[bytes],
**kwargs: Any,
) None[source]#

Write the failure info to a parquet file.

Parameters:
  • file – The file path or writable file-like object to which to write the parquet file. This should be a path to a directory if writing a partitioned dataset.

  • kwargs – Additional keyword arguments passed directly to polars.write_parquet(). metadata may only be provided if it is a dictionary.

Attention

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