Skip to main content

DELTA_UNSUPPORTED_COLUMN_MAPPING_PROTOCOL error condition

SQLSTATE: KD004

Your current table protocol version does not support changing column mapping modes using <config>. Your table's current Delta protocol version: <currentVersion>

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>).