cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

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?

1 REPLY 1

szymon_dybczak
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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group