DataFrame.LocalCheckpoint(Boolean) Method

Definition

Returns a locally checkpointed version of this DataFrame.

public Microsoft.Spark.Sql.DataFrame LocalCheckpoint (bool eager = true);
member this.LocalCheckpoint : bool -> Microsoft.Spark.Sql.DataFrame
Public Function LocalCheckpoint (Optional eager As Boolean = true) As DataFrame

Parameters

eager
Boolean

Whether to checkpoint this DataFrame immediately

Returns

DataFrame object

Remarks

Checkpointing can be used to truncate the logical plan of this `DataFrame`, which is especially useful in iterative algorithms where the plan may grow exponentially. Local checkpoints are written to executor storage and despite potentially faster they are unreliable and may compromise job completion.

Applies to