<?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: external table not being written to data lake in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/118360#M45630</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/161947"&gt;@mridultuteja&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;To register an external location, you have to first create a &lt;SPAN class=""&gt;&lt;STRONG&gt;Storage Credential&lt;/STRONG&gt;&lt;/SPAN&gt;, and then create the &lt;SPAN class=""&gt;&lt;STRONG&gt;External Location&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P class=""&gt;This process allows Databricks to securely access data stored in Azure Data Lake Storage Gen2 (ADLS Gen2), while maintaining fine-grained access control through Unity Catalog. External locations are used to govern access to files and directories outside of the managed Delta Lake tables.&lt;BR /&gt;&lt;BR /&gt;There are different approaches to creating this through SQL or the UI, and I’m sharing a video that could help you understand it more easily &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=KBB14qcELD4" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=KBB14qcELD4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps, &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Isi&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 May 2025 00:18:30 GMT</pubDate>
    <dc:creator>Isi</dc:creator>
    <dc:date>2025-05-08T00:18:30Z</dc:date>
    <item>
      <title>external table not being written to data lake</title>
      <link>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/117651#M45538</link>
      <description>&lt;P&gt;I was following a tutorial to learn databricks from&amp;nbsp;&lt;A href="https://youtu.be/7pee6_Sq3VY" target="_blank" rel="noopener"&gt;https://youtu.be/7pee6_Sq3VY&lt;/A&gt;&lt;BR /&gt;Great video btw&lt;BR /&gt;&lt;BR /&gt;I am stuck here at 2:52:24&lt;BR /&gt;I am trying to create an external table directly to data lake but i am facing some weird issue saying no such location exists.&lt;BR /&gt;I have already tried list and it was able to access the path and list all my files on data lake&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mridultuteja_0-1746405222446.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16468i281C22EA2361ADC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mridultuteja_0-1746405222446.png" alt="mridultuteja_0-1746405222446.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mridultuteja_1-1746405246157.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16469i74C2A8D64659A8E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mridultuteja_1-1746405246157.png" alt="mridultuteja_1-1746405246157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 00:38:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/117651#M45538</guid>
      <dc:creator>mridultuteja</dc:creator>
      <dc:date>2025-05-05T00:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: external table not being written to data lake</title>
      <link>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/117660#M45539</link>
      <description>&lt;P&gt;Hi&amp;nbsp;mridultuteja,&lt;/P&gt;&lt;P&gt;How are you doing today?, As per my understanding, If you’re getting an error like “no such location exists” when trying to create an external table, even though dbutils.fs.ls() works and lists your files, the issue is usually related to how paths are referenced when using Unity Catalog. When creating an external table, especially with CREATE TABLE ... LOCATION, Unity Catalog expects the path to be registered as an external location with proper permissions. Just because the notebook can read the path doesn't mean Unity Catalog has the right access. To fix this, go to the Databricks UI, register your external location under Data &amp;gt; External Locations, and make sure your storage credential has the correct access to the path. Once that’s done, try creating the table again using that external location. Let me know if you want help setting up the location registration—it’s a one-time thing, and then it works smoothly!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 04:22:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/117660#M45539</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2025-05-05T04:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: external table not being written to data lake</title>
      <link>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/117663#M45542</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/161947"&gt;@mridultuteja&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;In addition to Brahma's excellent response, I’ll also attach some helpful links.&lt;BR /&gt;This issue has come up multiple times in the community in the past.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/t5/data-governance/no-parent-external-location-for-path-when-browsing-our-metastore/td-p/93165" target="_blank" rel="noopener"&gt;https://community.databricks.com/t5/data-governance/no-parent-external-location-for-path-when-browsing-our-metastore/td-p/93165&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/t5/databricks-free-trial-help/getting-error-while-creating-external-delta-table-in-databricks/td-p/106499" target="_blank" rel="noopener"&gt;https://community.databricks.com/t5/databricks-free-trial-help/getting-error-while-creating-external-delta-table-in-databricks/td-p/106499&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 05:13:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/117663#M45542</guid>
      <dc:creator>Takuya-Omi</dc:creator>
      <dc:date>2025-05-05T05:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: external table not being written to data lake</title>
      <link>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/118337#M45627</link>
      <description>&lt;P&gt;I still need help in this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mridultuteja_0-1746646159374.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16666iF6ACC5430F252857/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mridultuteja_0-1746646159374.png" alt="mridultuteja_0-1746646159374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 19:29:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/118337#M45627</guid>
      <dc:creator>mridultuteja</dc:creator>
      <dc:date>2025-05-07T19:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: external table not being written to data lake</title>
      <link>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/118338#M45628</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you try out my suggestion?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 19:43:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/118338#M45628</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2025-05-07T19:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: external table not being written to data lake</title>
      <link>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/118341#M45629</link>
      <description>&lt;P&gt;I need help in registering the location as you have guided.&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 19:49:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/118341#M45629</guid>
      <dc:creator>mridultuteja</dc:creator>
      <dc:date>2025-05-07T19:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: external table not being written to data lake</title>
      <link>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/118360#M45630</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/161947"&gt;@mridultuteja&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;To register an external location, you have to first create a &lt;SPAN class=""&gt;&lt;STRONG&gt;Storage Credential&lt;/STRONG&gt;&lt;/SPAN&gt;, and then create the &lt;SPAN class=""&gt;&lt;STRONG&gt;External Location&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P class=""&gt;This process allows Databricks to securely access data stored in Azure Data Lake Storage Gen2 (ADLS Gen2), while maintaining fine-grained access control through Unity Catalog. External locations are used to govern access to files and directories outside of the managed Delta Lake tables.&lt;BR /&gt;&lt;BR /&gt;There are different approaches to creating this through SQL or the UI, and I’m sharing a video that could help you understand it more easily &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=KBB14qcELD4" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=KBB14qcELD4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps, &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Isi&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 00:18:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/external-table-not-being-written-to-data-lake/m-p/118360#M45630</guid>
      <dc:creator>Isi</dc:creator>
      <dc:date>2025-05-08T00:18:30Z</dc:date>
    </item>
  </channel>
</rss>

