<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can we able to create materialized view in databricks using all purpose cluster in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-we-able-to-create-materialized-view-in-databricks-using-all/m-p/157548#M54581</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/123857"&gt;@Shivaprasad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It can be networking issue. Could you tell us your networking setup? Does your storage account has public network access disabled?&lt;BR /&gt;Are you using standalone materialized view or you're creating MV via SDP pipeline?&lt;/P&gt;</description>
    <pubDate>Sun, 24 May 2026 08:08:27 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2026-05-24T08:08:27Z</dc:date>
    <item>
      <title>Can we able to create materialized view in databricks using all purpose cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-able-to-create-materialized-view-in-databricks-using-all/m-p/157535#M54576</link>
      <description>&lt;P&gt;I was unable to create&amp;nbsp;materialized view in databricks using all purpose cluster wanted to check do we need serverless cluster to create MV&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 15:09:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-able-to-create-materialized-view-in-databricks-using-all/m-p/157535#M54576</guid>
      <dc:creator>Shivaprasad</dc:creator>
      <dc:date>2026-05-23T15:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can we able to create materialized view in databricks using all purpose cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-able-to-create-materialized-view-in-databricks-using-all/m-p/157539#M54577</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/123857"&gt;@Shivaprasad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Nope, all purpose cluster are not supported. Standalone materialized views can be created/refreshed either from a Unity Catalog-enabled Pro or Serverless SQL Warehouse, or from a notebook attached to Serverless General Compute.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we don’t necessarily need a “serverless cluster” specifically, but we do need one of the supported compute options - I.e a SQL Warehouse. An all-purpose cluster is not supported for creating standalone materialized views.&lt;/P&gt;&lt;P&gt;For materialized view created via pipeline you can choose serverless or classic compute:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/ldp/configure-compute" target="_blank"&gt;https://docs.databricks.com/aws/en/ldp/configure-compute&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is similar thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/t5/data-engineering/spark-declarative-pipelines-use-in-all-purpose-compute/td-p/144076" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/spark-declarative-pipelines-use-in-all-purpose-compute/td-p/144076&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider marking it as accepted solution&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 16:53:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-able-to-create-materialized-view-in-databricks-using-all/m-p/157539#M54577</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2026-05-23T16:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can we able to create materialized view in databricks using all purpose cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-able-to-create-materialized-view-in-databricks-using-all/m-p/157543#M54579</link>
      <description>&lt;P&gt;Thanks. we have SQL warehouse cluster and has storage_blob_contributor_role_on_storage_account but I am still getting below error -&lt;/P&gt;&lt;P&gt;Encountered an error with Unity Catalog while setting up the pipeline on cluster 0521-174117-2fdl63ad-v2n.&lt;BR /&gt;Ensure that your Unity Catalog configuration is correct, and that required resources (e.g., catalog, schema) exist and are accessible.&lt;BR /&gt;Also verify that the cluster has appropriate permissions to access Unity Catalog.&lt;/P&gt;&lt;P&gt;Details: Operation failed: "Forbidden", 403, GET, &lt;A href="http://sa14127e1dv0201.dfs.core.windows.net/find?upn=false&amp;amp;amp;beginFrom=0000000000000000000&amp;amp;amp;resource=filesystem&amp;amp;amp;maxResults=5000&amp;amp;amp;directory=unity_catalog/erp_inbound/__unitystorage/schemas/0acf8b40-5cdd-486b-aa72-3e5f507cec3c/tables/1df52346-9e8f-4d90-a379-74347daed332/_delta_log&amp;amp;amp;timeout=90&amp;amp;amp;recursive=false&amp;amp;amp;st=2026-05-21T17:00:12Z&amp;amp;amp;sv=2020-02-10&amp;amp;amp;ske=2026-05-21T19:00:12Z&amp;amp;amp;sig=XXXXX&amp;amp;amp;sktid=ca56a4a5-e300-406a-98ff-7e36a0baac5b&amp;amp;amp;se=2026-05-21T18:41:31Z&amp;amp;amp;sdd=7&amp;amp;amp;skoid=a3f681e5-266f-4a68XXXXXXXXXXXXXXXXXX&amp;amp;amp;spr=https&amp;amp;amp;sks=b&amp;amp;amp;skt=2026-05-21T17:00:12Z&amp;amp;amp;sp=racwdxlm&amp;amp;amp;skv=2025-01-05&amp;amp;amp;sr=d" target="_blank"&gt;http://sa14127e1dv0201.dfs.core.windows.net/find?upn=false&amp;amp;amp;beginFrom=0000000000000000000&amp;amp;amp;resource=filesystem&amp;amp;amp;maxResults=5000&amp;amp;amp;directory=unity_catalog/erp_inbound/__unitystorage/schemas/0acf8b40-5cdd-486b-aa72-3e5f507cec3c/tables/1df52346-9e8f-4d90-a379-74347daed332/_delta_log&amp;amp;amp;timeout=90&amp;amp;amp;recursive=false&amp;amp;amp;st=2026-05-21T17:00:12Z&amp;amp;amp;sv=2020-02-10&amp;amp;amp;ske=2026-05-21T19:00:12Z&amp;amp;amp;sig=XXXXX&amp;amp;amp;sktid=ca56a4a5-e300-406a-98ff-7e36a0baac5b&amp;amp;amp;se=2026-05-21T18:41:31Z&amp;amp;amp;sdd=7&amp;amp;amp;skoid=a3f681e5-266f-4a68XXXXXXXXXXXXXXXXXX&amp;amp;amp;spr=https&amp;amp;amp;sks=b&amp;amp;amp;skt=2026-05-21T17:00:12Z&amp;amp;amp;sp=racwdxlm&amp;amp;amp;skv=2025-01-05&amp;amp;amp;sr=d&lt;/A&gt;, AuthorizationFailure, , "This request is not authorized to perform this operation. RequestId:b35f3d5a-e01f-0073-0f49-e92e3b000000 Time:2026-05-21T17:41:35.2242794Z"&lt;/P&gt;&lt;P&gt;==========================================================================&lt;BR /&gt;workspace : &lt;A href="https://adb-1976997951002494.14.azuredatabricks.net/editor/files/370237779897823?o=1976997951002494" target="_blank"&gt;https://adb-1976997951002494.14.azuredatabricks.net/editor/files/370237779897823?o=1976997951002494&lt;/A&gt;&lt;/P&gt;&lt;P&gt;catalog and schema has create martialized view create privileges&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2026 20:08:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-able-to-create-materialized-view-in-databricks-using-all/m-p/157543#M54579</guid>
      <dc:creator>Shivaprasad</dc:creator>
      <dc:date>2026-05-23T20:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can we able to create materialized view in databricks using all purpose cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-able-to-create-materialized-view-in-databricks-using-all/m-p/157548#M54581</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/123857"&gt;@Shivaprasad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It can be networking issue. Could you tell us your networking setup? Does your storage account has public network access disabled?&lt;BR /&gt;Are you using standalone materialized view or you're creating MV via SDP pipeline?&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2026 08:08:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-able-to-create-materialized-view-in-databricks-using-all/m-p/157548#M54581</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2026-05-24T08:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can we able to create materialized view in databricks using all purpose cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/can-we-able-to-create-materialized-view-in-databricks-using-all/m-p/157559#M54589</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/123857"&gt;@Shivaprasad&lt;/a&gt;,&lt;/P&gt;
&lt;P data-pm-slice="1 3 []"&gt;You generally should not create a standalone materialised view from an all-purpose cluster. Databricks documents that CREATE MATERIALIZED VIEW is supported from a &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/sql-ref-syntax-ddl-create-materialized-view" rel="noopener noreferrer nofollow" target="_blank"&gt;Pro or Serverless SQL warehouse&lt;/A&gt;, or within a pipeline. For standalone materialised views, Databricks also documents that you can create them from a Databricks SQL warehouse or from a notebook running on &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ldp/dbsql/materialized" rel="noopener noreferrer nofollow" target="_blank"&gt;serverless general compute&lt;/A&gt;.&lt;/P&gt;
&lt;P class="wnfdntf _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;So if you are trying this from an all-purpose cluster, that part is already a problem. A SQL warehouse is the correct route.&lt;/P&gt;
&lt;P&gt;The second part is the important one... even when you issue the command from a SQL warehouse, Databricks creates and uses a serverless backing pipeline for the create/refresh path. Databricks explicitly says that create and refresh operations for materialised views are powered by serverless Lakeflow pipelines, and that a serverless pipeline is automatically created for Databricks SQL materialised views.&lt;/P&gt;
&lt;P&gt;That is why the error you shared does not appear to be a simple SQL warehouse permission issue. The error is a 403 against the Unity Catalog managed storage path under __unitystorage/.../_delta_log, which strongly suggests that the backing serverless pipeline cannot access the Azure Data Lake Storage location used by Unity Catalog.&lt;/P&gt;
&lt;P class="wnfdntf _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;A few things you can check...&lt;/P&gt;
&lt;P&gt;First of all, make sure you are using a Pro or Serverless SQL warehouse for CREATE MATERIALIZED VIEW, not an all-purpose cluster.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;On Azure, check that Unity Catalog storage access is configured using the correct Databricks-managed identity / Access Connector path, and that the required role is assigned to that identity. The Azure Databricks guidance for Unity Catalog storage access calls out assigning the role to the managed identity, not just relying on a user-level permission.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Also, double check the exact Azure RBAC role. The documented role is &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/connect/unity-catalog/cloud-storage/azure-managed-identities" rel="noopener noreferrer nofollow" target="_blank"&gt;Storage Blob Data Contributor&lt;/A&gt;, which is different from "Storage Blob Contributor".&lt;/P&gt;
&lt;P&gt;Lastly, if the storage account is behind firewall rules, Private Link, or a VNet-injected setup, you should also verify that serverless access is configured correctly for that storage account. Databricks documents additional setup for &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/connect/unity-catalog/cloud-storage/azure-managed-identities#trusted-access" rel="noopener noreferrer nofollow" target="_blank"&gt;managed identity trusted access&lt;/A&gt; and &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/security/network/serverless-network-security/serverless-private-link" rel="noopener noreferrer nofollow" target="_blank"&gt;serverless private connectivity&lt;/A&gt;.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2026 13:55:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-we-able-to-create-materialized-view-in-databricks-using-all/m-p/157559#M54589</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-05-24T13:55:55Z</dc:date>
    </item>
  </channel>
</rss>

