Class DeltaErrorsInternal

Object
io.delta.kernel.internal.DeltaErrorsInternal

public class DeltaErrorsInternal extends Object
Contains methods to create developer-facing exceptions. See Exception Principles for more information on what these are and how to use them.
  • Method Details

    • missingRemoveFileSizeDuringCommit

      public static IllegalStateException missingRemoveFileSizeDuringCommit()
    • invalidTimestampFormatForPartitionValue

      public static IllegalStateException invalidTimestampFormatForPartitionValue(String partitionValue)
    • defaultCommitterDoesNotSupportCatalogManagedTables

      public static UnsupportedOperationException defaultCommitterDoesNotSupportCatalogManagedTables()
    • logicalPhysicalSchemaMismatch

      public static IllegalStateException logicalPhysicalSchemaMismatch(int num_partition_cols, int physical_size, int logical_size)
    • catalogCommitsPrecedePublishedDeltas

      public static InvalidTableException catalogCommitsPrecedePublishedDeltas(String tablePath, long earliestCatalogCommitVersion, List<Long> foundPublishedVersions)
    • publishedDeltasAndCatalogCommitsNotContiguous

      public static InvalidTableException publishedDeltasAndCatalogCommitsNotContiguous(String tablePath, List<Long> publishedDeltaVersions, List<Long> catalogCommitVersions)
    • publishedDeltasNotContiguous

      public static InvalidTableException publishedDeltasNotContiguous(String tablePath, List<Long> foundVersions)
    • invalidLatestSnapshotForMaxCatalogVersion

      public static IllegalArgumentException invalidLatestSnapshotForMaxCatalogVersion(long latestSnapshotVersion, long maxCatalogVersion)