Aller au contenu principal

DELTA_UNIFORM_ICEBERG_ROW_TRACKING_UPGRADE_BLOCKED error condition

SQLSTATE: 55000

Cannot preserve the Apache Iceberg snapshot lineage while upgrading Row Tracking. Set <config>=false to upgrade without preserving the snapshot lineage. Reason:

DUPLICATE_LIVE_ENTRIES​

The Apache Iceberg table has <duplicateCount> duplicate live data-file entries across <distinctPathCount> distinct paths.

ENTRY_COUNT_MISMATCH​

The rewrite re-emitted <rewrittenCount> data-file entries but the table has <activeCount> active data files.

FILE_SET_MISMATCH​

<deltaOnlyCount> Delta files are missing from Apache Iceberg and <icebergOnlyCount> Apache Iceberg files are missing from Delta.

ICEBERG_FORMAT_VERSION_BELOW_V3​

The table's Apache Iceberg compat writes manifest format version <formatVersion>, but stamping first_row_id requires 3.

MANIFEST_ENTRY_WITHOUT_ROW_TRACKING​

The active file <path> has no Delta row tracking metadata.

MISSING_ROW_TRACKING_METADATA​

<missingCount> of <activeCount> active Delta files are missing a baseRowId or a defaultRowCommitVersion after the Row Tracking backfill, for example <examplePaths>.

NON_MONOTONIC_SEQUENCE_NUMBER​

Upgrade version <upgradeVersion> would not exceed the highest retained Apache Iceberg sequence number <maxRetainedSequenceNumber>, so appending to the existing chain would give a non-monotonic sequence number.

ROW_COMMIT_VERSION_ABOVE_UPGRADE_VERSION​

The highest Delta defaultRowCommitVersion <maxRowCommitVersion> exceeds the upgrade version <upgradeVersion>, so re-emitting it as an Apache Iceberg sequence number would number an entry above the snapshot carrying it.

ROW_LEVEL_DELETE_FILES​

The Apache Iceberg table has row-level delete files.