<?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: Creating table in Unity Catalog with file scheme dbfs is not supported. in Summit 2024</title>
    <link>https://community.databricks.com/t5/summit-2024/creating-table-in-unity-catalog-with-file-scheme-dbfs-is-not/m-p/76562#M588</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110281"&gt;@shiva123&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;As the error says, you cannot create a table with DBFS as location.&lt;BR /&gt;If you really need to create external table, please follow this guide:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/tables/external" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/tables/external&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 05:02:50 GMT</pubDate>
    <dc:creator>daniel_sahal</dc:creator>
    <dc:date>2024-07-03T05:02:50Z</dc:date>
    <item>
      <title>Creating table in Unity Catalog with file scheme dbfs is not supported.</title>
      <link>https://community.databricks.com/t5/summit-2024/creating-table-in-unity-catalog-with-file-scheme-dbfs-is-not/m-p/76526#M586</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Creating table in Unity Catalog with file scheme dbfs is not supported.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Instead, please create a federated data source connection using the CREATE CONNECTION command for the same table provider, then create a catalog based on the connection with a CREATE FOREIGN CATALOG command to reference the tables therein. I am getting this error . I am trying to create a table in Databricks workspace. I don't know How to create a connection for data which is residing in delta lake(s3) . Anyone can give me a code to create a connection and foreign catalog in databricks notebook .Here is my code.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;staging_table_path&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"dbfs:/user/hive/warehouse/staging_order_tracking"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark&lt;/SPAN&gt;&lt;SPAN&gt;.sql&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;create&lt;/SPAN&gt; &lt;SPAN&gt;table&lt;/SPAN&gt; &lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;exists&lt;/SPAN&gt;&lt;SPAN&gt; staging_order_tracking &lt;/SPAN&gt;&lt;SPAN&gt;using&lt;/SPAN&gt;&lt;SPAN&gt; delta &lt;/SPAN&gt;&lt;SPAN&gt;location&lt;/SPAN&gt; &lt;SPAN&gt;'{staging_table_path}'"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:56:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/summit-2024/creating-table-in-unity-catalog-with-file-scheme-dbfs-is-not/m-p/76526#M586</guid>
      <dc:creator>shiva123</dc:creator>
      <dc:date>2024-07-02T14:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table in Unity Catalog with file scheme dbfs is not supported.</title>
      <link>https://community.databricks.com/t5/summit-2024/creating-table-in-unity-catalog-with-file-scheme-dbfs-is-not/m-p/76562#M588</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110281"&gt;@shiva123&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;As the error says, you cannot create a table with DBFS as location.&lt;BR /&gt;If you really need to create external table, please follow this guide:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/tables/external" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/tables/external&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 05:02:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/summit-2024/creating-table-in-unity-catalog-with-file-scheme-dbfs-is-not/m-p/76562#M588</guid>
      <dc:creator>daniel_sahal</dc:creator>
      <dc:date>2024-07-03T05:02:50Z</dc:date>
    </item>
  </channel>
</rss>

