Unable to restore table version after enabling columnMapping
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 05:51 AM
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?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 05:55 AM
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