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

DLT Pipeline on Hive Metastore

Sreyasi_Thakur
New Contributor II

I am creating a DLT pipeline on Hive Metastore (destination is Hive Metastore) and using a notebook within the pipeline which reads a unity catalog table. But, I am getting an error- [UC_NOT_ENABLED] Unity Catalog is not enabled on this cluster.

Is it a limitation of DLT that if we define the pipeline destination as Hive then it wonโ€™t allow to read tables from Unity Catalog?

2 REPLIES 2

Kaniz_Fatma
Community Manager
Community Manager

Hi @Sreyasi_ThakurYes, this is a known limitation. When you define the pipeline destination as Hive Metastore, you cannot read tables from Unity Catalog within the same pipeline. Delta Live Tables (DLT) pipelines can either use the Hive Metastore or Unity Catalog, but not both s...

  1. If possible, switch your pipeline to use Unity Catalog for both reading and writing tables.
  2. Create separate pipelines where one pipeline reads from Unity Catalog and writes to an intermediate storage (like Delta Lake), and another pipeline reads from this intermediate storage and writes to Hive Metastore.

Would you like more details on how to implement either of these solutions?

Hi @Kaniz_Fatma - yes, please share more details on the 2nd solution.

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