Forum Discussion
Running Vacuum on Lakehouse table throws error
Hi All,
I have been trying to run vacuum on multiple tables using both Adhoc maintenance option as well as Spark and I am getting the following error:
These tables are updated by Dataflow Gen 2 on a daily basis. The dataflow was running fine without issues for past 1 month.
11 Replies
- AndyDDCMost Valuable Professional
Hi govindarajan_d has the VACUUM command ever worked on these tables?
- govindarajan_dSuper User
Hi AndyDDC ,
This is the first time I am running VACUUM on these tables.
For few other tables that have been updated by Spark, VACUUM works fine. Two tables that are updated by Dataflow Gen 2 throws the error.
- AndyDDCMost Valuable Professional
govindarajan_d I've tested using a Dataflow Gen2 to load into a Delta table and then ran the VACUUM command and it worked successfully. What version of Spark are you using in the workspace that the lakehouse is in?
- VincentMeyersFrequent Visitor
I got exactly the same problem for all my tables in my lakehouse, coming from dataflows
- AnonymousNot applicable
I got the same problem