แชร์ผ่าน


DELTA_ICEBERG_COMPAT_VIOLATION error class

SQLSTATE: KD00E

The validation of IcebergCompatV\<version\> has failed.

CHANGE_VERSION_NEED_REWRITE

Changing to IcebergCompatV\<newVersion\> requires rewriting the table. Please run REORG TABLE APPLY (UPGRADE UNIFORM (‘ICEBERG_COMPAT_VERSION = <newVersion>’));

Note that REORG enables table feature IcebergCompatV\<newVersion\> and other Databricks runtime versions without that table feature support may not be able to write to the table.

COMPAT_VERSION_NOT_SUPPORTED

IcebergCompatVersion = <version> is not supported. Supported versions are between 1 and <maxVersion>

DELETION_VECTORS_NOT_PURGED

IcebergCompatV\<version\> requires Deletion Vectors to be completely purged from the table. Please run the REORG TABLE APPLY (PURGE) command.

DELETION_VECTORS_SHOULD_BE_DISABLED

IcebergCompatV\<version\> requires Deletion Vectors to be disabled on the table first. Then run REORG PURGE command to purge the Deletion Vectors on the table.

DISABLING_REQUIRED_TABLE_FEATURE

IcebergCompatV\<version\> requires feature \<feature\> to be supported and enabled. You cannot drop it from the table. Instead, please disable IcebergCompatV\<version\> first.

FILES_NOT_ICEBERG_COMPAT

Enabling Uniform Iceberg with IcebergCompatV\<version\> requires all files to be iceberg compatible.

There are <addFilesCount> files in table version <tableVersion> and <addFilesWithoutTag> files are not iceberg compatible, which is usually a result of concurrent write.

Please run the REORG TABLE table APPLY (UPGRADE UNIFORM (ICEBERG_COMPAT_VERSION=<version>) command again.

INCOMPATIBLE_TABLE_FEATURE

IcebergCompatV\<version\> is incompatible with feature \<feature\>.

MISSING_REQUIRED_TABLE_FEATURE

IcebergCompatV\<version\> requires feature \<feature\> to be supported and enabled.

REPLACE_TABLE_CHANGE_PARTITION_NAMES

IcebergCompatV\<version\> doesn’t support replacing partitioned tables with a differently-named partition spec, because Iceberg-Spark 1.1.0 doesn’t.

Prev Partition Spec: <prevPartitionSpec>

New Partition Spec: <newPartitionSpec>

REWRITE_DATA_FAILED

Rewriting data to IcebergCompatV\<version\> failed.

Please run the REORG TABLE table APPLY (UPGRADE UNIFORM (ICEBERG_COMPAT_VERSION=<version>) command again.

UNSUPPORTED_DATA_TYPE

IcebergCompatV\<version\> does not support the data type \<dataType\> in your schema. Your schema:

<schema>

UNSUPPORTED_TYPE_WIDENING

IcebergCompatV\<version\> is incompatible with a type change applied to this table:

Field <fieldPath> was changed from <prevType> to <newType>.

VERSION_MUTUAL_EXCLUSIVE

Only one IcebergCompat version can be enabled, please explicitly disable all other IcebergCompat versions that are not needed.

WRONG_REQUIRED_TABLE_PROPERTY

IcebergCompatV\<version\> requires table property '\<key\>' to be set to '\<requiredValue\>'. Current value: '\<actualValue\>’.