Unable to restore table version after enabling columnMapping

Data_Alchemist
New Contributor

i can not restore my delta table to a previous version after I have enabled columnMapping. 

The following error is shown:

DeltaColumnMappingUnsupportedException: Changing column mapping mode from 'name' to 'none' is not supported.

Any idea how to roll back?

szymon_dybczak
Esteemed Contributor III

Hi @Data_Alchemist ,

In Databricks Runtime 15.3 and above, you can use the DROP FEATURE command to remove column mapping from a table and downgrade the table protocol.

Then you can try to restore table to previous version.

https://docs.databricks.com/en/delta/column-mapping.html#disable-column-mapping