- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2025 02:02 AM
Unable to Access Delta View from Azure Machine Learning via Delta Sharing – Is View Access Supported?
I am able to access the tables but while accessing the view I am getting below error.
Response from server:
{ 'details': [ { '@type': 'type.googleapis.com/google.rpc.ErrorInfo',
'domain': 'data-sharing.databricks.com',
'metadata': { 'dsError': 'DS_MATERIALIZATION_QUERY_FAILED',
'reason': 'Task '
'DATA-MATERIALIZATION-CREATE-EMPTY-TABLE '
'failed with message: An error '
'occurred during execution of task '
'Data materialization task: The '
'shared asset could not be '
'materialized due to asset not being '
'accessible in materialization '
'workspace. Please ask data provider '
'to contact Databricks support to '
'override the materialization '
'workspace. This caused all '
'downstream tasks to get skipped.',
'schema': 'xxxx',
'share': 'delta-share-xx-xx',
'table': 'xxxx'},
'reason': 'DS_MATERIALIZATION_QUERY_FAILED'},
{ '@type': 'type.googleapis.com/google.rpc.RequestInfo',
'request_id': 'xxxx-f8c2-4d85-9aa7-xxxx',
'serving_data': ''}],
'error_code': 'BAD_REQUEST',
'message': 'DS_MATERIALIZATION_QUERY_FAILED: Query failed for '
'xxx.xxxx from Share '
'delta-share-xx-xx.'}
Could someone suggest the steps to do enable the view access if it is possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2025 12:53 PM
"DS_MATERIALIZATION_QUERY_FAILED" indicates that the materialization of the shared asset (view) failed due to access or permissions issues in the materialization workspace. Cross-account view sharing requires serverless compute environments as views rely on materialization mechanisms to resolve their definitions.-
Override Materialization Workspace: Contact Databricks support to override the materialization workspace if the shared asset's materialization persists in failing.
-
Verify Permissions: Check that the system service principal has the required permissions to access referenced tables or views. If permission issues exist, work with the data provider to resolve them.
-
Follow Naming Guidelines: Make sure there are no catalog name conflicts between the provider-side and recipient-side namespaces.
-
Investigate Advanced Options: Consider dynamic fine-grained access controls or adjusting the filtering fleet implementation for shared views as an alternative approach.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 02:22 AM
Thanks for your quick response. Based on your explanation, I understand that accessing a Delta View from Azure Machine Learning via Delta Sharing is currently not supported due to the materialization limitations and trusted compute requirements. Unfortunately, in my business scenario, the need is to access a shared Delta View directly from AML — so just to confirm, this setup is not feasible at the moment, correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 04:13 AM
Correct. Views are not supported (as of today) via Delta Sharing. Cheers, Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2025 10:53 AM
View sharing is supported (launched GA) in Databricks. See https://docs.databricks.com/aws/en/delta-sharing/create-share#add-views-to-a-share. You likely need a workspace id override. Creating the recipient from a workspace with proper access and resharing will also work.