Forum Discussion
DELETE Managed DELTA Table
Anonymous I see this however.
" Make sure you have permission to modify the table, retry deleting and refreshing" - yes, I am the admin
Perhaps it's the sync between Lakehouse and SQL Analytics Endpoint which is taking a long time in your case.
What if you run
%%sql
SELECT Count(*) FROM tableName
in the Notebook in the next cell after you run the truncate or delete rows. Perhaps this will show that the table is indeed empty, even if the SQL Analytics Endpoint doesn't know that yet.
https://learn.microsoft.com/en-us/fabric/data-warehouse/sql-analytics-endpoint-performance
- smpa012 years agoCommunity Champion
frithjof_v "What if you run" - it will probably show 0. But it is extremely annoying.
But that is not onlly issue. assuming there is a lag between sql end point and lakehouse, I do expect the the lakehouse table view to show a 0 row table. Bu that is not the case sadly. Also, I don't want to truncate the table as it holds the required schema and partitions. I just need it to delete all the rows.
I am currently not being able to verify that either by SQL end point (does not show 0) or visually by looking at the lakehouse explorer (does not show an empty table)
- frithjof_v2 years agoCommunity Champion
Did you try clicking all the refresh buttons in the Lakehouse view?
- smpa012 years agoCommunity Champion
Goes without saying