Pular para o conteúdo principal

DELTA_UNSUPPORTED_DROP_COLUMN error condition

SQLSTATE: 0AKDC

DROP COLUMN is not supported for your Delta table.

ARCHIVED_FILES​

Your table contains archived files. Columns cannot be dropped from archived files.

ENABLE_COLUMN_MAPPING​

Enable Column Mapping on your Delta table with mapping mode 'name' by running:

ALTER TABLE table_name SET TBLPROPERTIES ('delta.columnMapping.mode' = 'name').

If your table is not on the required protocol version it will be upgraded. Column mapping requires at least protocol (<readerVersion>, <writerVersion>).