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: 

MLOps + DLT

PassionateDBD
New Contributor II

What are the best practices for using MLOps and DLT together?

This page https://learn.microsoft.com/en-us/azure/databricks/compute/access-mode-limitations states that 

You cannot use a single user cluster to query tables created by a Unity Catalog-enabled Delta Live Tables pipeline, including streaming tables and materialized views created in Databricks SQL. To query tables created by a Delta Live Tables pipeline, you must use a shared cluster using Databricks Runtime 13.1 and above.

MLOps cluster only supports single user access mode as stated on this page https://learn.microsoft.com/en-us/azure/databricks/machine-learning/ 

To access data in Unity Catalog for machine learning workflows, the access mode for the cluster must be single user (assigned). Shared clusters are not compatible with Databricks Runtime for Machine Learning. 

Is it possible to use an ML cluster with dlt + unity catalog somehow? If not then will it become possible in near future and is there a workaround meanwhile?

 

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

 

  • As per the provided links, DLT tables created by a Unity Catalog-enabled pipeline cannot be queried using a single-user cluster. Instead, a shared cluster with Databricks Runtime 13.1 and above is required.
  • MLOps clusters support only single-user access mode, which is not compatible with shared clusters used for DLT.
  • Unfortunately, there is no direct workaround to use an ML cluster with DLT and Unity Catalog simultaneously.

For now, consider using separate clusters for MLOps and DLT workflows.

 
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!