Unable to delete a table
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
When I try to delete a table, I'm getting this error:
[ErrorClass=INVALID_STATE] TABLE catalog.schema.table_name cannot be deleted because it is being shared via Delta Sharing.
I have checked on the internet about it, but could not find any info about it.
Labels:
- Labels:
-
Delta Lake
-
Spark
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @IGRACH ,
You are facing this issue bcz I guess the table you want to delete is being shared by delta sharing.
You can go to the shared object by following this doc
https://docs.databricks.com/aws/en/delta-sharing/create-share#update-sharesand
Then, you can remove your table from delta sharing and can delete it

