cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Incremental refresh of materialized view in serverless DLT

SharathE
New Contributor III

Hello, Every time that I run a delta live table materialized view in serverless , I get a log of "COMPLETE RECOMPUTE" . How can I achieve incremental refresh in serverless in DLT pipelines?

1 REPLY 1

MehdiModarressi
New Contributor II
New Contributor II

Hi @SharathE 

Incremental refresh in DLT Materialized Views is dependent on many different factors, such as:

  • What is the source of the query/function that is creating the MV
  • The type of operation(s) that is happening within your query/function
  • which DLT channel you are on (current/preview)
  • If you are using Serverless or not (Generally, the latest and greatest features are available in serverless DLT)

But If your source for the MV is not Streaming Tables (e.g., Delta table), then you need to make sure to have the following features enabled on your source Delta tables:

  • delta.enableChangeDataFeed": "true"
  • "delta.enableRowTracking": "true"

However, looking at the JSON output of planning the MV in your DLT logs will provide you with more information on why a specific method has been selected. 

Hope this helps. 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group