Skip to content

DeltaCommitFileProvider

deltaFile

deltaFile(
  version: Long): Path

deltaFile looks up the given version (in the uuids registry).

When found, deltaFile creates an unbackfilledDeltaFile for this resolvedPath, the given version and the found uuid.

Otherwise, deltaFile creates a unsafeDeltaFile for this resolvedPath and the given version.

IllegalStateException

deltaFile reports an IllegalStateException when the given version is higher than this maxVersionInclusive.

Cannot resolve Delta table at version [version] as the state is currently at version [maxVersionInclusive].
The requested version may be incorrect or the state may be outdated.
Please verify the requested version, update the state if necessary, and try again

deltaFile is used when:

apply

apply(
  snapshot: Snapshot): DeltaCommitFileProvider

apply creates a DeltaCommitFileProvider based on the given Snapshot:


apply is used when: