Skip to content

DeltaHistoryManager

DeltaHistoryManager is used for version and commit history of a delta table.

Creating Instance

DeltaHistoryManager takes the following to be created:

  • DeltaLog
  • Maximum number of keys (default: 1000)

DeltaHistoryManager is created when:

Version and Commit History

getHistory(
  start: Long,
  end: Option[Long] = None): Seq[CommitInfo]
getHistory(
  limitOpt: Option[Int]): Seq[CommitInfo]

getHistory...FIXME

getHistory is used when:

getCommitInfo Utility

getCommitInfo(
  logStore: LogStore,
  basePath: Path,
  version: Long): CommitInfo

getCommitInfo...FIXME

getActiveCommitAtTime

getActiveCommitAtTime(
  timestamp: Timestamp,
  canReturnLastCommit: Boolean,
  mustBeRecreatable: Boolean = true,
  canReturnEarliestCommit: Boolean = false): Commit

getActiveCommitAtTime...FIXME

getActiveCommitAtTime is used when:


Last update: 2021-03-21