Skip to content

DescribeDeltaHistoryCommand Leaf Logical Command

DescribeDeltaHistoryCommand is a leaf RunnableCommand (Spark SQL) that uses DeltaHistoryManager for the commit history of a delta table.

DescribeDeltaHistoryCommand is an executable variant of DescribeDeltaHistory unary logical operator.

Creating Instance

DescribeDeltaHistoryCommand takes the following to be created:

DescribeDeltaHistoryCommand is created when:

Executing Command

  sparkSession: SparkSession): Seq[Row]

run is part of the RunnableCommand (Spark SQL) abstraction.

run requests the DeltaTableV2 for the DeltaLog that is requested for the DeltaHistoryManager.

In the end, run requests the DeltaHistoryManager for the commit history (for the latest limit versions).