Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Lakehouse Table SQL Drop/Truncate with Data Factory

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.

 

 

 

 

Status: New