public final class DeltaErrors
extends Object
| Modifier and Type | Method and Description |
|---|---|
static KernelException |
columnInvariantsNotSupported() |
static KernelException |
concurrentTransaction(String appId,
long txnVersion,
long lastUpdated) |
static KernelException |
dataSchemaMismatch(String tablePath,
StructType tableSchema,
StructType dataSchema) |
static KernelException |
duplicateColumnsInSchema(StructType schema,
java.util.List<String> duplicateColumns) |
static KernelException |
invalidColumnName(String columnName,
String unsupportedChars) |
static KernelException |
metadataChangedException() |
static KernelException |
partitionColumnMissingInData(String tablePath,
String partitionColumn) |
static KernelException |
protocolChangedException(long attemptVersion) |
static KernelException |
requiresSchemaForNewTable(String tablePath) |
static KernelException |
tableAlreadyExists(String tablePath,
String message) |
static KernelException |
timestampAfterLatestCommit(String tablePath,
long providedTimestamp,
long latestCommitTimestamp,
long latestCommitVersion) |
static KernelException |
timestampBeforeFirstAvailableCommit(String tablePath,
long providedTimestamp,
long earliestCommitTimestamp,
long earliestCommitVersion) |
static KernelException |
unsupportedDataType(DataType dataType) |
static KernelException |
unsupportedPartitionDataType(String colName,
DataType dataType) |
static KernelException |
unsupportedReaderFeature(String tablePath,
String readerFeature) |
static KernelException |
unsupportedReaderProtocol(String tablePath,
int tableReaderVersion) |
static KernelException |
unsupportedWriterFeature(String tablePath,
String writerFeature) |
static KernelException |
unsupportedWriterProtocol(String tablePath,
int tableWriterVersion) |
static KernelException |
versionAfterLatestCommit(String tablePath,
long versionToLoad,
long latestVersion) |
static KernelException |
versionBeforeFirstAvailableCommit(String tablePath,
long versionToLoad,
long earliestVersion) |
public static KernelException versionBeforeFirstAvailableCommit(String tablePath, long versionToLoad, long earliestVersion)
public static KernelException versionAfterLatestCommit(String tablePath, long versionToLoad, long latestVersion)
public static KernelException timestampBeforeFirstAvailableCommit(String tablePath, long providedTimestamp, long earliestCommitTimestamp, long earliestCommitVersion)
public static KernelException timestampAfterLatestCommit(String tablePath, long providedTimestamp, long latestCommitTimestamp, long latestCommitVersion)
public static KernelException unsupportedReaderProtocol(String tablePath, int tableReaderVersion)
public static KernelException unsupportedReaderFeature(String tablePath, String readerFeature)
public static KernelException unsupportedWriterProtocol(String tablePath, int tableWriterVersion)
public static KernelException unsupportedWriterFeature(String tablePath, String writerFeature)
public static KernelException columnInvariantsNotSupported()
public static KernelException unsupportedDataType(DataType dataType)
public static KernelException unsupportedPartitionDataType(String colName, DataType dataType)
public static KernelException duplicateColumnsInSchema(StructType schema, java.util.List<String> duplicateColumns)
public static KernelException invalidColumnName(String columnName, String unsupportedChars)
public static KernelException requiresSchemaForNewTable(String tablePath)
public static KernelException tableAlreadyExists(String tablePath, String message)
public static KernelException dataSchemaMismatch(String tablePath, StructType tableSchema, StructType dataSchema)
public static KernelException partitionColumnMissingInData(String tablePath, String partitionColumn)
public static KernelException concurrentTransaction(String appId, long txnVersion, long lastUpdated)
public static KernelException metadataChangedException()
public static KernelException protocolChangedException(long attemptVersion)