FailureInfo.scan_delta#

classmethod FailureInfo.scan_delta(
source: str | Path | deltalake.DeltaTable,
**kwargs: Any,
) FailureInfo[Schema][source]#

Lazily read a delta lake table with the failure info.

Parameters:
  • source – Path or DeltaTable from which to read the data.

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

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