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

To change ownership of a materialized view

Data_NXT
Visitor

 working in a Unity Catalog-enabled Databricks workspace, and we have several materialized views (MVs) that were created through a Delta Live Tables (DLT) / Lakeflow pipeline.

Currently, the original owner of the pipeline has moved out of the project, and we need to transfer ownership of the materialized views to a new user/service principal.

 

  • What is the correct/supported way to transfer pipeline ownership in UC?

  • Are there any recommended steps or caveats for this process?

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions

szymon_dybczak
Esteemed Contributor III

Hi @Data_NXT ,

You can change the owner of a materialized view if you are a both a metastore admin and a workspace admin.

Use the following steps to change a materialized views owner:

  • Open the materialized view in Catalog Explorer, then on the Overview tab, click See refresh details. This opens the pipeline details for the pipeline that manages the materialized view.
  • Click Share. The Permissions Settings dialog appears. You must be a metastore and workspace admin to edit these settings.
  • Click x to the right of the current owner's name to remove the current owner.
  • Start typing to filter the list of available users. Click the user who should be the new pipeline owner.
  • Click Save to save your changes and close the dialog.

Here's a documentation:

Configure materialized views in Databricks SQL - Azure Databricks | Microsoft Learn

 

And if you would like to change owner of a pipeline as well, here's how to do this:

Cannot see how to change the owner of a DLT pipeline in the Databricks UI - Databricks

View solution in original post

1 REPLY 1

szymon_dybczak
Esteemed Contributor III

Hi @Data_NXT ,

You can change the owner of a materialized view if you are a both a metastore admin and a workspace admin.

Use the following steps to change a materialized views owner:

  • Open the materialized view in Catalog Explorer, then on the Overview tab, click See refresh details. This opens the pipeline details for the pipeline that manages the materialized view.
  • Click Share. The Permissions Settings dialog appears. You must be a metastore and workspace admin to edit these settings.
  • Click x to the right of the current owner's name to remove the current owner.
  • Start typing to filter the list of available users. Click the user who should be the new pipeline owner.
  • Click Save to save your changes and close the dialog.

Here's a documentation:

Configure materialized views in Databricks SQL - Azure Databricks | Microsoft Learn

 

And if you would like to change owner of a pipeline as well, here's how to do this:

Cannot see how to change the owner of a DLT pipeline in the Databricks UI - Databricks

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