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
Favorites, recent fields and field groups in the Data pane (large models)
On big models the Data pane is a pain. Search helps, but you keep searching the same stuff again and again. And when a lot of fields have almost the same name (UN, UN METAS, UN_corr, UNIDAD_NEGOCIO…)...WildAnalyst24 minutes agoNew MemberNew2Views0likes0CommentsAllow Workspace Admins to View Power BI Semantic Model Configuration Without Requiring Take Over
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Description As a Power BI Workspace Administrator, I understand why own...LeonardGreene2 hours agoNew MemberNew6Views0likes0CommentsOpen Fabric notebooks in View‑only by default
Problem: Developers and reviewers with edit permissions frequently open notebooks for reading. Notebooks currently open in edit mode with autosave, which causes accidental changes and noisy version h...AMD07912 hours agoAdvocate IVNew335Views11likes1CommentService principal authentication support for data sources in Paginated(RDL) reports
We are only seeing two options(Basic, OAuth2) for data source authentication in a paginated report, Recently we see that the Service principal authentication enabled for Power BI(PBIX) reports, simi...Thatikonda_Vams3 hours agoNew MemberNew135Views6likes2CommentsMetadata-Driven Copy Job Control at Table and Column Level
We currently achieve metadata-driven table and column selection in Copy Data activities by using dynamic queries. This allows us to dynamically determine which tables and columns should be processed ...Motasim098 hours agoNew MemberNew6Views0likes0Comments