Package io.delta.kernel.internal
Class DeltaErrorsInternal
Object
io.delta.kernel.internal.DeltaErrorsInternal
Contains methods to create developer-facing exceptions. See Exception
Principles for more information on what these are and how to use them.
-
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidTableExceptioncatalogCommitsPrecedePublishedDeltas(String tablePath, long earliestCatalogCommitVersion, List<Long> foundPublishedVersions) static IllegalArgumentExceptioninvalidLatestSnapshotForMaxCatalogVersion(long latestSnapshotVersion, long maxCatalogVersion) static IllegalStateExceptioninvalidTimestampFormatForPartitionValue(String partitionValue) static IllegalStateExceptionlogicalPhysicalSchemaMismatch(int num_partition_cols, int physical_size, int logical_size) static IllegalStateExceptionstatic InvalidTableExceptionpublishedDeltasAndCatalogCommitsNotContiguous(String tablePath, List<Long> publishedDeltaVersions, List<Long> catalogCommitVersions) static InvalidTableExceptionpublishedDeltasNotContiguous(String tablePath, List<Long> foundVersions)
-
Method Details
-
missingRemoveFileSizeDuringCommit
-
invalidTimestampFormatForPartitionValue
-
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
-
publishedDeltasNotContiguous
public static InvalidTableException publishedDeltasNotContiguous(String tablePath, List<Long> foundVersions) -
invalidLatestSnapshotForMaxCatalogVersion
public static IllegalArgumentException invalidLatestSnapshotForMaxCatalogVersion(long latestSnapshotVersion, long maxCatalogVersion)
-