Triggering a Databricks Delta Live Table from Azure Data Factory resets the whole tables. How do I disable that?

Anonymous
2023-04-04T07:05:44.0933333+00:00

I have created a pipeline in Azure Data Factory that triggers a Delta Live Table in Azure Databricks through a Web activity mentioned here in the Microsoft documentation. My problem is that when I trigger my DLT from ADF, it resets the whole tables, meaning that my data becomes unavailable during the pipeline execution. Here's how it looks like with this extra step: User's image

However, when I run it directly from the Databricks UI, the tables will not get reset and the data is available during the execution of my pipeline. Here's how it looks like: User's image

I would like to have the same behavior in ADF, as I have when trigger the pipeline directly from the Databricks UI. I don't want to have this additional "resetting tables" step in my DLT pipeline when I trigger it from ADF. Additional information: My Delta Live Table is a streaming pipeline, meaning that it will only pick up the new files that's been added to my source since the last time it ran. That's exactly my problem; resetting the whole tables pick every single historical file, as if I am running the pipeline for the first time.

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,538 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,653 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA 90,656 Reputation points Moderator
    2023-04-05T09:02:37.44+00:00


    Moein Torabi
    - Thanks for the question and using MS Q&A platform.

    How is your Web Activity request constructed? Do you use "{"full_refresh": "true"}." or {} in your request body? If true, the Delta Live Tables system resets all tables that are resettable before running the pipeline. - Delta Live Tables API guide - Azure Databricks | Microsoft Learn

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.