<?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 Error in creating external iceberg table in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/error-in-creating-external-iceberg-table/m-p/142335#M11239</link>
    <description>&lt;P&gt;I am new to Databrcicks and was trying to create an Iceberg table.&amp;nbsp;&lt;BR /&gt;I have configured the Credentials and External Location using the UI under Catalog &amp;gt; External Locations and Credentials. I am able to create a table by using the Browse feature.&lt;/P&gt;&lt;P&gt;But when I am trying to create an Iceberg table from the SQL Editor I am getting a strange error&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CREATE&lt;/SPAN&gt; &lt;SPAN&gt;TABLE&lt;/SPAN&gt; &lt;SPAN&gt;nation2_iceberg&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;USING&lt;/SPAN&gt;&lt;SPAN&gt; iceberg&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOCATION&lt;/SPAN&gt; &lt;SPAN&gt;'s3://xyz/databricks/nation_iceberg'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;SPAN&gt; parquet.&lt;/SPAN&gt;&lt;SPAN&gt;`&lt;/SPAN&gt;&lt;SPAN&gt;s3://xyz/sf/nation.RV6Vad/data/56&lt;/SPAN&gt;&lt;SPAN&gt;`&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;This is the error:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;[MANAGED_ICEBERG_OPERATION_NOT_SUPPORTED]&amp;nbsp;Managed Iceberg tables do not support REPLACE on external tables.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;The table does not exist and not using any REPLACE command.&lt;BR /&gt;Does anyone know what has to be done in or&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 22 Dec 2025 08:20:49 GMT</pubDate>
    <dc:creator>icurious</dc:creator>
    <dc:date>2025-12-22T08:20:49Z</dc:date>
    <item>
      <title>Error in creating external iceberg table</title>
      <link>https://community.databricks.com/t5/get-started-discussions/error-in-creating-external-iceberg-table/m-p/142335#M11239</link>
      <description>&lt;P&gt;I am new to Databrcicks and was trying to create an Iceberg table.&amp;nbsp;&lt;BR /&gt;I have configured the Credentials and External Location using the UI under Catalog &amp;gt; External Locations and Credentials. I am able to create a table by using the Browse feature.&lt;/P&gt;&lt;P&gt;But when I am trying to create an Iceberg table from the SQL Editor I am getting a strange error&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CREATE&lt;/SPAN&gt; &lt;SPAN&gt;TABLE&lt;/SPAN&gt; &lt;SPAN&gt;nation2_iceberg&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;USING&lt;/SPAN&gt;&lt;SPAN&gt; iceberg&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOCATION&lt;/SPAN&gt; &lt;SPAN&gt;'s3://xyz/databricks/nation_iceberg'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;SPAN&gt; parquet.&lt;/SPAN&gt;&lt;SPAN&gt;`&lt;/SPAN&gt;&lt;SPAN&gt;s3://xyz/sf/nation.RV6Vad/data/56&lt;/SPAN&gt;&lt;SPAN&gt;`&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;This is the error:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;[MANAGED_ICEBERG_OPERATION_NOT_SUPPORTED]&amp;nbsp;Managed Iceberg tables do not support REPLACE on external tables.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;The table does not exist and not using any REPLACE command.&lt;BR /&gt;Does anyone know what has to be done in or&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Dec 2025 08:20:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/error-in-creating-external-iceberg-table/m-p/142335#M11239</guid>
      <dc:creator>icurious</dc:creator>
      <dc:date>2025-12-22T08:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error in creating external iceberg table</title>
      <link>https://community.databricks.com/t5/get-started-discussions/error-in-creating-external-iceberg-table/m-p/142337#M11240</link>
      <description>&lt;P&gt;This behavior is expected given how Databricks handles Iceberg tables in Unity Catalog.&lt;BR /&gt;Iceberg tables in Unity Catalog do not support a LOCATION clause. Databricks requires Iceberg tables to be created as managed tables (with UC controlling the storage location) or registered via a foreign catalog; specifying LOCATION 's3://...' with USING iceberg is not supported.&lt;BR /&gt;Ref Doc -&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-create-table-using" target="_blank"&gt;https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-create-table-using&lt;/A&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-12-22 at 1.54.36 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/22461i84E84A9970BCCC3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-12-22 at 1.54.36 PM.png" alt="Screenshot 2025-12-22 at 1.54.36 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The error mentions REPLACE because Databricks’ CREATE TABLE semantics include an internal “replace” capability for Delta and Iceberg; mixing “external path + Iceberg” triggers an unsupported operation for managed Iceberg, even if you didn’t explicitly use REPLACE in your SQL.&lt;/P&gt;
&lt;P&gt;You can do two things here:&lt;BR /&gt;1) Run the CTAS without LOCATION, and fully-qualify the table name in a Unity Catalog catalog and schema&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CREATE TABLE &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.nation2_iceberg
USING iceberg
AS
SELECT *
FROM parquet.`s3://xyz/sf/nation.RV6Vad/data/56`;&lt;/LI-CODE&gt;
&lt;P&gt;Managed tables are the recommended table type.&lt;BR /&gt;2) If you need a specific S3 path for the table&lt;BR /&gt;Placing managed Iceberg table data at a user-specified path via LOCATION isn’t supported. If the table is already managed by another Iceberg catalog (for example, Glue or Snowflake), you should register it as a foreign Iceberg table via Lakehouse Federation rather than using a path. Foreign Iceberg is read‑only in Databricks, with updates governed by the external catalogue.&lt;/P&gt;
&lt;P&gt;Alternatives:&lt;/P&gt;
&lt;P&gt;Use a managed Iceberg table in UC and let external Iceberg clients read/write to it through the Iceberg REST catalog API (credential vending supported for some clients). This preserves Iceberg semantics while UC manages storage and governance.&lt;/P&gt;
&lt;P&gt;If controlling the path is a hard requirement for writes from Databricks, use an external Delta table with LOCATION (Delta supports LOCATION), or create the Iceberg table in an external catalog and write to it outside Databricks, then read it in Databricks as a foreign table.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 08:28:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/error-in-creating-external-iceberg-table/m-p/142337#M11240</guid>
      <dc:creator>iyashk-DB</dc:creator>
      <dc:date>2025-12-22T08:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error in creating external iceberg table</title>
      <link>https://community.databricks.com/t5/get-started-discussions/error-in-creating-external-iceberg-table/m-p/142354#M11241</link>
      <description>&lt;P&gt;Thanks I am able to create a Lakehouse Federation and query the Snowflake catalog. So, if I create an Iceberg table in Databricks, one cannot access the path directly from else where like if I want to access it from Snowflake, right?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 12:19:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/error-in-creating-external-iceberg-table/m-p/142354#M11241</guid>
      <dc:creator>icurious</dc:creator>
      <dc:date>2025-12-22T12:19:20Z</dc:date>
    </item>
  </channel>
</rss>

