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: 

Declarative Pipeline Re-Deployment and existing managed tables exception

crami
New Contributor II

Hi,

I am facing a issue regarding re deployment of declarative pipeline using asset bundle. On first deployment, I am able to run the pipeline successfully. On execution, pipeline, as expected create tables. However, when I try to re-deploy the pipeline, with bug fixes or new transformations, on execution, it throws existing managed table already exist exception. I assume the re deployments should accept the existing tables created earlier and should continue run successfully with additions.

1 REPLY 1

bianca_unifeye
New Contributor III

 

  • Redeploys with Asset Bundles can safely reuse existing DLT-managed tables.

  • If you see “managed table already exists”, it usually means:

    • You’re using plain CREATE TABLE  and you should have OR REFRESH part of it

    • The bundle created a new pipeline pointing at a schema where tables already exist, or

    • You changed the nature of an existing table (table ↔ view, streaming ↔ batch) without dropping/renaming it.

 

 

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now