cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results for 
Search instead for 
Did you mean: 

Got error when access delta sharing table with iceberg endpoint

unidevel
New Contributor II

I created an iceberg table within databricks and shared it via delta sharing with token

Then I use curl command to access it with iceberg endpoint like this:

curl -X GET \
-H "Authorization: Bearer ***"\
-H "Accept: application/json" \
"https://ohio.cloud.databricks.com/api/2.0/delta-sharing/metastores/e6da0ff4-5f22-4fc4-b2e8-fe49d047c..."

But got the error below:
{"error":{"message":"Malformed request: INVALID_PARAMETER_VALUE: DS_UNSUPPORTED_TABLE_TYPE: Could not retrieve default.diamonds_iceberg from Share delta-share because table with type [Databricks managed storage] is currently unsupported in delta sharing queries.","type":"BadRequestException","code":400}}

Are there any configuration steps I missed or is it not supported? Any document I can reference to make the iceberg endpoint working?

1 ACCEPTED SOLUTION

Accepted Solutions

aleksandra_ch
Databricks Employee
Databricks Employee

Hi @unidevel ,

It depends to whom you share - to an External Iceberg Client, or to a Databricks?

Please note that currently Databricks does not support sharing managed Iceberg tables to external Iceberg clients.

 You can share managed Iceberg tables with another Databricks workspace.

Hope it helps.

Best regards,

View solution in original post

3 REPLIES 3

rdokala
New Contributor II

Hi, I have found the attached documentation.
https://docs.databricks.com/aws/en/delta-sharing/create-share

aleksandra_ch
Databricks Employee
Databricks Employee

Hi @unidevel ,

It depends to whom you share - to an External Iceberg Client, or to a Databricks?

Please note that currently Databricks does not support sharing managed Iceberg tables to external Iceberg clients.

 You can share managed Iceberg tables with another Databricks workspace.

Hope it helps.

Best regards,

unidevel
New Contributor II

Thank you @rdokala , @aleksandra_ch 

BTW, can I share managed uniformed delta table to external Iceberg clients? I tried this but get the same error, my friend tried, seems fine. I don't know what's the difference.

Best regards,
Li