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: 

Materialize View creation not supported from DLT Pipeline

abhijitnag
New Contributor II

Hi Team, I have a very basic scenario where I am using my custom catalog and want materialize view to get created from DLT table at the end of pipeline. The SQL used as below for the same.

abhijitnag_1-1704047659613.png

where "loom_data_transform" is a Streaming table. But pipeline fails at the last stage where materialize view is tried to create from "loom_data_transform" with following error message.

abhijitnag_0-1704047565470.png

Could someone please help me on this issue.

2 REPLIES 2

warsamebashir
New Contributor II

Hey @abhijitnag are you sure your loom_data_transform was created as a STREAMING table?

 

docs:

https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-streaming-table.html 

 

 

 

Yes, @warsamebashir "loom_data_transform" was created as a STREAMING table as below. And without this Materialize view, the pipeline is executing absolutely fine.

abhijitnag_0-1704077166693.png

 

 

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