https://delta.io logo
o

Omer Ozsakarya

03/15/2023, 12:42 AM
Hi all, I have a delta table. When I drop the table, the files in the mount (Azure Data Lake Storage) was not cleaned. Is there any drop table option which also cleans the file contents? A command like DROP TABLE DELTA_TABLE1 CASCADE
g

Gerhard Brueckl

03/15/2023, 7:59 AM
I am not aware of any option except manually deleting it from the ADLS e.g. by using
dbutils.fs.rm()
thats by design for external tables. a DROP TABLE just removes the table (or actually the reference to the delta table) from the meta store
1
o

Omer Ozsakarya

03/15/2023, 10:10 PM
thank you @Gerhard Brueckl
3 Views