Currenly the only method to drop / truncate tables in a Lakehouse during a pipeline run is to start a spark session and initiate spark.sql to execute a sql statment.
In Data Factory the script activity does not support lakehouse as source and the sql endpoint of a lakehouse does not support drop.
Can an activity be created or the script activity updated in Data Factory pipelines to execute a sql statement on a lakehouse without having to start a notebook and spark session to do it.
Starting a spark session can take up to 5 mins so takes too long if we simply want drop/truncate a few lakehouse tables.
1 Comment
- ToddChitt
Super User
A Copy Activity in a pipeline, with the Destination Table Action set to "Overwrite" will create a backup of the original table, then recreate that table. So every reload of that table gets you another copy of the table named "MyTable_backup_" Come ON Microsoft, "Overwrite" means just that": Replace what is there. It does NOT mean, "make me a copy and start over". Give us an option to NOT create a backup table.
Recent ideas
Allow Managed Private Endpoint to be disabled/enabled per notebook
Could notebooks have an option to use or not use the workspace's Managed Private Endpoint (MPE)? MPE can significantly increase notebook startup time, even for notebooks that don't need private conn...frithjof_v11 hours agoCommunity ChampionNew20Views1like0CommentsMatrix: column totals as a bar chart docked to the edge
What's missing Data bars already work on the Total row and column through conditional formatting, so row totals can be read as length. Column totals cannot: they render as a horizontal bar inside a ...Sayurivalente1 day agoRegular VisitorNew80Views6likes1Comment