Pular para o conteúdo principal

DELTA_ALTER_TABLE_SET_MANAGED_FAILED error condition

SQLSTATE: 42809

ALTER TABLE <table> SET MANAGED failed.

CANNOT_FINALIZE_REDIRECT​

It cannot finalize redirect on the external location because redirect configuration doesn't exist.

This can happen if the table is currently rolling back to external. Otherwise, contact Databricks support.

FILE_VALIDATION_FAILED​

File validation failed: <missingFileCount> file(s) could not be migrated. Retry the operation or contact Databricks support if the issue persists.

REDIRECT_READY_ALREADY_EXISTS​

The table already has RedirectReady state. The migration may have already finished by concurrent ALTER TABLE tbl SET MANAGED command.

Check if the table is already migrated to MANAGED by running DESC EXTENDED tbl.

VERSION_MISMATCH​

The version of the managed DeltaLog (<managedDeltaLogVersion>) does not match the expected one (<expectedVersion>).

This can happen if there is a concurrent ALTER TABLE tbl SET MANAGED command that already successfully migrated the table to managed.

Check if the table is already migrated to managed by running DESC EXTENDED tbl.