Package io.delta.kernel.exceptions
Class StartVersionNotFoundException
Object
Throwable
Exception
RuntimeException
io.delta.kernel.exceptions.KernelException
io.delta.kernel.exceptions.StartVersionNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when the requested start version is not found in the Delta log. This can happen
when the requested start version has been cleaned up due to log retention policies.
- Since:
- 4.1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStartVersionNotFoundException(String tablePath, long startVersionRequested, Optional<Long> earliestAvailableVersion) -
Method Summary
Modifier and TypeMethodDescriptionlongMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StartVersionNotFoundException
-
-
Method Details
-
getTablePath
- Returns:
- the table path where the start version was not found
-
getStartVersionRequested
public long getStartVersionRequested()- Returns:
- the start version that was requested but not found
-
getEarliestAvailableVersion
- Returns:
- the earliest available version in the Delta log, or empty if no versions are available
-