Class StartVersionNotFoundException

Object
Throwable
Exception
RuntimeException
io.delta.kernel.exceptions.KernelException
io.delta.kernel.exceptions.StartVersionNotFoundException
All Implemented Interfaces:
Serializable

@Evolving public class StartVersionNotFoundException extends KernelException
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 Details

    • StartVersionNotFoundException

      public StartVersionNotFoundException(String tablePath, long startVersionRequested, Optional<Long> earliestAvailableVersion)
  • Method Details

    • getTablePath

      public String 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

      public Optional<Long> getEarliestAvailableVersion()
      Returns:
      the earliest available version in the Delta log, or empty if no versions are available