Showing results for 
Search instead for 
Did you mean: 
Data Governance
Join discussions on data governance practices, compliance, and security within the Databricks Community. Exchange strategies and insights to ensure data integrity and regulatory compliance.
Showing results for 
Search instead for 
Did you mean: 

Delta Live tables publish to Unity Catalog

Valued Contributor

How to enable DLT pipelines for the tables which are in UC. Could you please suggest us the approach or if there is any workaround?


Not applicable

@Janga Reddy​ :

To enable Delta Live Tables (DLT) pipelines for tables that are in Unity Catalog (UC), you can follow these general steps:

  1. Create a new Databricks cluster or use an existing one.
  2. Connect to UC using the Unity Catalog API. You can use the spark.conf.set() method to set the UC configuration parameters. For example:
spark.conf.set("", "true")
spark.conf.set("", "com.databricks.spark.catalog.UnityCatalog")
spark.conf.set("spark.hadoop.fs.unity.impl", "com.databricks.backend.daemon.dbutils.UnityFileSystem")
spark.conf.set("spark.databricks.clusterUsageTags.clusterName", "<cluster_name>")

3) Create a Delta table using the method with the UnifiedAnalyticsDataSource data source and the table location in UC. For example:

df ="com.databricks.spark.sqldw").option("url", "<jdbc_url>").option("query", "<query>").load()
df.write.format("delta").option("path", "unity://<catalog>.<namespace>/<table_name>").save()

Note that you need to replace <cluster_name>, <jdbc_url>, <query>, <catalog>, <namespace>, and

<table_name> with the appropriate values for your UC and Databricks environment.

Also, please note that Unity Catalog is a proprietary Databricks feature, and it is not available in open source Apache Spark. If you are not using Databricks Unified Analytics Platform, you may not be able to use Unity Catalog.

Not applicable

Hi @Janga Reddy​ 

Thank you for posting your question in our community! We are happy to assist you.

To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?

This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance! 

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!