<?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: Got error using Opensharing Get Table API to foreign iceberg table in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/got-error-using-opensharing-get-table-api-to-foreign-iceberg/m-p/166366#M2700</link>
    <description>&lt;P&gt;Thank you for the explanation&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/238151"&gt;@GabFernandes&lt;/a&gt;.&lt;BR /&gt;I understand there was no endpoint like&amp;nbsp;&lt;SPAN&gt;GET .../tables/test_iceberg_table in the existing delta sharing. But, There is a&amp;nbsp;&lt;A href="https://github.com/OpenSharing-IO/OpenSharing/blob/main/spec/protocols/TABLES.md#get-table" rel="nofollow noopener noreferrer" target="_blank"&gt;Get Table api&lt;/A&gt;&amp;nbsp;in the opensharing protocol. I have been suspecting that this just hasn’t been implemented yet, since other apis there like &lt;A href="https://github.com/OpenSharing-IO/OpenSharing/blob/main/spec/protocols/TABLES.md#list-tables-in-a-schema" target="_self"&gt;list_table_in_schema&lt;/A&gt; , &lt;A href="https://github.com/OpenSharing-IO/OpenSharing/blob/main/spec/protocols/TABLES.md#list-all-tables-in-a-share" target="_self"&gt;list_all_tables_in_share&lt;/A&gt;&amp;nbsp;worked well.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Aug 2026 00:25:31 GMT</pubDate>
    <dc:creator>Ji-Seung</dc:creator>
    <dc:date>2026-08-25T00:25:31Z</dc:date>
    <item>
      <title>Got error using Opensharing Get Table API to foreign iceberg table</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/got-error-using-opensharing-get-table-api-to-foreign-iceberg/m-p/166278#M2698</link>
      <description>&lt;P&gt;Hi, There is&lt;A href="https://github.com/OpenSharing-IO/OpenSharing/blob/main/spec/protocols/TABLES.md#get-table" target="_self"&gt; Get Table api&lt;/A&gt; in open sharing. and I faced error while using it. test_iceberg_table is foreign iceberg table.&lt;/P&gt;&lt;P&gt;curl -s -X GET \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; '&lt;A href="https://frankfurt.cloud.databricks.com/api/2.0/delta-sharing/metastores/617a9420-4294-453a-8a56-ea87eb418006/shares/share_test/schemas/iceberg_database/tables/test_iceberg_table" target="_blank"&gt;https://frankfurt.cloud.databricks.com/api/2.0/delta-sharing/metastores/617a9420-4294-453a-8a56-ea87eb418006/shares/share_test/schemas/iceberg_database/tables/test_iceberg_table&lt;/A&gt;' \&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;-H 'Authorization: Bearer xxx'&lt;/P&gt;&lt;P&gt;{"error_code":"ENDPOINT_NOT_FOUND","message":"No API found for 'GET /delta-sharing/metastores/617a9420-4294-453a-8a56-ea87eb418006/shares/share_test/schemas/iceberg_database/tables/test_iceberg_table'","details":[{"@type":"type.googleapis.com/google.rpc.RequestInfo","request_id":"1d24b5d0-7b72-4b60-943d-014a20eb83c9","serving_data":""}]}&lt;/P&gt;&lt;P&gt;FYI, &amp;nbsp;queryTableMetdata api succeeded, which looks similar.&lt;/P&gt;&lt;P&gt;curl -s -X GET \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; '&lt;A href="https://frankfurt.cloud.databricks.com/api/2.0/delta-sharing/metastores/617a9420-4294-453a-8a56-ea87eb418006/shares/share_test/schemas/iceberg_database/tables/test_iceberg_table/metadata" target="_blank"&gt;https://frankfurt.cloud.databricks.com/api/2.0/delta-sharing/metastores/617a9420-4294-453a-8a56-ea87eb418006/shares/share_test/schemas/iceberg_database/tables/test_iceberg_table/metadata&lt;/A&gt;' \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -H 'Authorization: Bearer xxx'&lt;/P&gt;&lt;P&gt;The following iceberg load table api succeeded as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -s -X GET \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; '&lt;A href="https://frankfurt.cloud.databricks.com/api/2.0/delta-sharing/metastores/617a9420-4294-453a-8a56-ea87eb418006/iceberg/v1/shares/share_test/namespaces/iceberg_database/tables/test_iceberg_table" target="_blank"&gt;https://frankfurt.cloud.databricks.com/api/2.0/delta-sharing/metastores/617a9420-4294-453a-8a56-ea87eb418006/iceberg/v1/shares/share_test/namespaces/iceberg_database/tables/test_iceberg_table&lt;/A&gt;' \&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -H 'Authorization: Bearer xxx'&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;BR /&gt;Best regards,&lt;BR /&gt;Ji-Seung Ryu&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2026 07:43:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/got-error-using-opensharing-get-table-api-to-foreign-iceberg/m-p/166278#M2698</guid>
      <dc:creator>Ji-Seung</dc:creator>
      <dc:date>2026-08-24T07:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Got error using Opensharing Get Table API to foreign iceberg table</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/got-error-using-opensharing-get-table-api-to-foreign-iceberg/m-p/166337#M2699</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/246562"&gt;@Ji-Seung&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ENDPOINT_NOT_FOUND&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;error makes sense — the endpoint you're trying to call&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;does not exist&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the Delta Sharing open protocol. There is no standalone "Get Table" (singular) endpoint at that path.&lt;/P&gt;&lt;HR /&gt;&lt;H3&gt;The Delta Sharing Protocol Endpoints for Tables&lt;/H3&gt;&lt;P&gt;Here are the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;actual available endpoints&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;under the Delta Sharing recipient API path (/api/2.0/delta-sharing/metastores/{metastore_id}/...):&lt;/P&gt;&lt;P&gt;Method Path Purpose Status for you&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;GET&lt;/TD&gt;&lt;TD&gt;.../shares/{share}/schemas/{schema}/tables&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;List all tables&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in a schema&lt;/TD&gt;&lt;TD&gt;Should work&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;GET&lt;/TD&gt;&lt;TD&gt;.../shares/{share}/schemas/{schema}/tables/{table}/metadata&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Query table metadata&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; You confirmed this works&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;GET&lt;/TD&gt;&lt;TD&gt;.../shares/{share}/schemas/{schema}/tables/{table}/version&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Get table version&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Should work&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;POST&lt;/TD&gt;&lt;TD&gt;.../shares/{share}/schemas/{schema}/tables/{table}/query&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Query table data&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(with predicates/limits)&lt;/TD&gt;&lt;TD&gt;Should work&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;GET&lt;/TD&gt;&lt;TD&gt;.../shares/{share}/all-tables&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;List all tables&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;across all schemas&lt;/TD&gt;&lt;TD&gt;Should work&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;And for the Iceberg REST Catalog interface:&lt;/P&gt;&lt;P&gt;Method Path Purpose Status for you&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;GET&lt;/TD&gt;&lt;TD&gt;.../iceberg/v1/namespaces/{namespace}/tables/{table}&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Load table&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(Iceberg metadata)&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; You confirmed this works&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;HR /&gt;&lt;H3&gt;What's Missing&lt;/H3&gt;&lt;P&gt;Notice there is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;no&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;GET .../shares/{share}/schemas/{schema}/tables/{table}&lt;/PRE&gt;&lt;P&gt;This path (without a trailing&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/metadata,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/version, or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/query) is simply not a valid endpoint in the Delta Sharing protocol. The protocol was designed so that you either:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;List&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tables in a schema (get all table names/metadata at once)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Query&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;a specific table's metadata, version, or data&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There's no intermediate "get table details" endpoint like you'd find in the Unity Catalog API (GET /api/2.1/unity-catalog/tables/{full_name}).&lt;/P&gt;&lt;HR /&gt;&lt;H3&gt;What to Use Instead&lt;/H3&gt;&lt;P&gt;Depending on what info you need:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you want table metadata (schema, partition columns, etc.):&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -s -X GET \
  'https://frankfurt.cloud.databricks.com/api/2.0/delta-sharing/metastores/&amp;lt;metastore_id&amp;gt;/shares/share_test/schemas/iceberg_database/tables/test_iceberg_table/metadata' \
  -H 'Authorization: Bearer xxx'&lt;/PRE&gt;&lt;P&gt;(You already confirmed this works &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you want to confirm a table exists and get its basic info:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# List tables in the schema and filter for your table
curl -s -X GET \
  'https://frankfurt.cloud.databricks.com/api/2.0/delta-sharing/metastores/&amp;lt;metastore_id&amp;gt;/shares/share_test/schemas/iceberg_database/tables' \
  -H 'Authorization: Bearer xxx'&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;If you want the Iceberg table metadata (for Iceberg clients):&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# Use the Iceberg REST Catalog API (you confirmed this works)
curl -s -X GET \
  'https://frankfurt.cloud.databricks.com/api/2.0/delta-sharing/metastores/&amp;lt;metastore_id&amp;gt;/iceberg/v1/namespaces/iceberg_database/tables/test_iceberg_table' \
  -H 'Authorization: Bearer xxx'&lt;/PRE&gt;&lt;HR /&gt;&lt;H3&gt;Why the Confusion?&lt;/H3&gt;&lt;P&gt;The Delta Sharing open protocol spec (on GitHub:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md" target="_blank" rel="noopener noreferrer"&gt;delta-io/delta-sharing&lt;/A&gt;) doesn't define a "Get Table" endpoint. Some documentation or API reference pages may list it, but the Databricks implementation follows the open protocol strictly for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/delta-sharing/&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;path.&lt;/P&gt;&lt;P&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Iceberg&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;loadTable&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;endpoint works&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;because that follows the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://iceberg.apache.org/spec/#rest-catalog" target="_blank" rel="noopener noreferrer"&gt;Apache Iceberg REST Catalog spec&lt;/A&gt;, which&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;does&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;have an individual table retrieval endpoint.&lt;/P&gt;&lt;HR /&gt;&lt;H3&gt;Summary&lt;/H3&gt;&lt;P&gt;What you tried Why it fails&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;GET .../tables/test_iceberg_table&lt;/TD&gt;&lt;TD&gt;This endpoint doesn't exist in the Delta Sharing protocol&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;GET .../tables/test_iceberg_table/metadata&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Works — this IS a valid endpoint&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;GET .../iceberg/v1/.../tables/test_iceberg_table&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Works — Iceberg REST Catalog spec has this endpoint&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/metadata&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or the Iceberg&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;loadTable&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;API to get the table information you need. If you need to enumerate tables, use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;List Tables&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;endpoint (GET .../schemas/{schema}/tables&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;without a table name at the end).&lt;/P&gt;&lt;P&gt;Hope this clarifies things!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2026 17:53:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/got-error-using-opensharing-get-table-api-to-foreign-iceberg/m-p/166337#M2699</guid>
      <dc:creator>GabFernandes</dc:creator>
      <dc:date>2026-08-24T17:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Got error using Opensharing Get Table API to foreign iceberg table</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/got-error-using-opensharing-get-table-api-to-foreign-iceberg/m-p/166366#M2700</link>
      <description>&lt;P&gt;Thank you for the explanation&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/238151"&gt;@GabFernandes&lt;/a&gt;.&lt;BR /&gt;I understand there was no endpoint like&amp;nbsp;&lt;SPAN&gt;GET .../tables/test_iceberg_table in the existing delta sharing. But, There is a&amp;nbsp;&lt;A href="https://github.com/OpenSharing-IO/OpenSharing/blob/main/spec/protocols/TABLES.md#get-table" rel="nofollow noopener noreferrer" target="_blank"&gt;Get Table api&lt;/A&gt;&amp;nbsp;in the opensharing protocol. I have been suspecting that this just hasn’t been implemented yet, since other apis there like &lt;A href="https://github.com/OpenSharing-IO/OpenSharing/blob/main/spec/protocols/TABLES.md#list-tables-in-a-schema" target="_self"&gt;list_table_in_schema&lt;/A&gt; , &lt;A href="https://github.com/OpenSharing-IO/OpenSharing/blob/main/spec/protocols/TABLES.md#list-all-tables-in-a-share" target="_self"&gt;list_all_tables_in_share&lt;/A&gt;&amp;nbsp;worked well.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 00:25:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/got-error-using-opensharing-get-table-api-to-foreign-iceberg/m-p/166366#M2700</guid>
      <dc:creator>Ji-Seung</dc:creator>
      <dc:date>2026-08-25T00:25:31Z</dc:date>
    </item>
  </channel>
</rss>

