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:ย 

How to deploy a DLT Pipeline?

jeremy98
Honored Contributor

Hi community,

My team and I have been working on manually creating our first DLT pipeline. However, when we tried importing it into DABs, we encountered an issue in the dev workspace: we are unable to deploy the same DLT pipeline multiple times because the source is already being used by another instance of the same pipeline.

This prevents us from testing properly in the dev environment. Has anyone experienced a similar issue? How can we resolve this?

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions

szymon_dybczak
Esteemed Contributor III

Hi @jeremy98 ,

When a DLT pipeline creates a table, this table can only be written to by the pipeline that created it. If another pipeline tries to write data to this table the pipeline will error.

The solution is quite simple, parametrize your DAB template in such way that each developer during DAB deployment to DEV will have its own dedicated catalog. You can refere to below article when this approach is explained in details:

Avoid Delta Live Table Pipeline Conflicts with Parameterised Databricks Asset Bundles

 

View solution in original post

2 REPLIES 2

szymon_dybczak
Esteemed Contributor III

Hi @jeremy98 ,

When a DLT pipeline creates a table, this table can only be written to by the pipeline that created it. If another pipeline tries to write data to this table the pipeline will error.

The solution is quite simple, parametrize your DAB template in such way that each developer during DAB deployment to DEV will have its own dedicated catalog. You can refere to below article when this approach is explained in details:

Avoid Delta Live Table Pipeline Conflicts with Parameterised Databricks Asset Bundles

 

jeremy98
Honored Contributor

 

Hello,

Thanks for your response! ๐Ÿ™‚
Duplicating the catalog for this does feel a bit unusual. I understand the reasoning behind it, though itโ€™s not the cleanest approach. Still, I suppose itโ€™s acceptable for a DEV workspace.

Thanks again!