DeltaErrorsBase¶
clusteringTablePreviewDisabledException¶
clusteringTablePreviewDisabledException(): Throwable
clusteringTablePreviewDisabledException
creates an UnsupportedOperationException
with the following error message:
A clustered table is currently in preview and is disabled by default.
Please set spark.databricks.delta.clusteredTable.enableClusteringTablePreview to true to enable it.
Note that a clustered table is not recommended for production use (e.g., unsupported incremental clustering).
clusteringTablePreviewDisabledException
is used when:
ClusteredTableUtilsBase
is requested to validatePreviewEnabled
convertToDeltaRowTrackingEnabledWithoutStatsCollection¶
convertToDeltaRowTrackingEnabledWithoutStatsCollection: Throwable
convertToDeltaRowTrackingEnabledWithoutStatsCollection
creates a DeltaIllegalStateException
with the following:
errorClass
:DELTA_CONVERT_TO_DELTA_ROW_TRACKING_WITHOUT_STATS
messageParameters
:
convertToDeltaRowTrackingEnabledWithoutStatsCollection
is used when:
RowId
is requested to checkStatsCollectedIfRowTrackingSupported
modifyAppendOnlyTableException¶
modifyAppendOnlyTableException(
tableName: String): Throwable
modifyAppendOnlyTableException
creates a DeltaUnsupportedOperationException
with the following:
errorClass
:DELTA_CANNOT_MODIFY_APPEND_ONLY
messageParameters
:- The given
tableName
- delta.appendOnly
- The given
modifyAppendOnlyTableException
is used when:
DeltaLog
is requested to assertRemovable