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: 

break production using a shallow clone

oosterhuisf
New Contributor II

Hi,

If you create a shallow clone using the latest LTS, and drop the clone using a SQL warehouse (either current or preview), the source table is broken beyond repair. Data reads and writes still work, but vacuum will remain forever broken. I've attached a notebook that demonstrates this behaviour.

To me it looks like the 'drop table' command in the warehouse does not remove the reference to the source files.

Wanted solution:
* fixed `drop table` in the SQL Warehouse
* working delta table after `repair table`

1 REPLY 1

oosterhuisf
New Contributor II

To add to that: the manual does not state that this might happen

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