<?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: [DELTA_CREATE_EXTERNAL_TABLE_WITHOUT_TXN_LOG] in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/delta-create-external-table-without-txn-log/m-p/157090#M54504</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/229920"&gt;@Yannick_B&lt;/a&gt;&amp;nbsp;You are trying to register an external table pointing to a directory that does not contain required Delta transaction logs (_delta_log folder) and hence you see the error.&lt;/P&gt;&lt;P&gt;When you run External Table Command,&amp;nbsp;Databricks generally expects that data already exists at that ADLS Gen2 location and was written using the Delta format. However, since its empty &amp;amp; no data has been written to that path yet (_delta_log folder does not exist). Databricks refuses to create an external Delta table over an empty directory.&lt;/P&gt;&lt;P&gt;You can follow any of the below&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Initialize the Table &amp;amp; Data&lt;/STRONG&gt;&lt;BR /&gt;Before you run the CREATE EXTERNAL TABLE statement, create a notebook that writes data to that path using DataFrame. This is &lt;STRONG&gt;suggested&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="python"&gt;df.write.format("delta").mode("append").save("abfss://cdc-urochart@spsderlakeland01dev.dfs.core.windows.net/delta-tables-dev/audittrail_2025_b")&lt;/LI-CODE&gt;&lt;P&gt;The code creates the delta table &amp;amp; _delta_log. CREATE EXTERNAL TABLE statement will then work.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Provide a Schema&lt;/STRONG&gt;&lt;BR /&gt;You can explicitly define the column schema in the table statement.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="python"&gt;CREATE EXTERNAL TABLE qa_trunk.audittrail_2025_b (
id INT,
action STRING
-- Add bronze schema columns
)
USING delta
LOCATION 'abfss://cdc-urochart@spsderlakeland01dev.dfs.core.windows.net/delta-tables'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 17 May 2026 08:13:12 GMT</pubDate>
    <dc:creator>balajij8</dc:creator>
    <dc:date>2026-05-17T08:13:12Z</dc:date>
    <item>
      <title>[DELTA_CREATE_EXTERNAL_TABLE_WITHOUT_TXN_LOG]</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-create-external-table-without-txn-log/m-p/156705#M54473</link>
      <description>&lt;P&gt;We are testing Delta writer in our environment&amp;nbsp; to create bronze tables and recently, I just needed to add one table to the notebook code and rerun the whole notebook that failed because of this error :&amp;nbsp;&lt;SPAN&gt;[&lt;A class="" href="https://learn.microsoft.com/azure/databricks/error-messages/error-classes#delta_create_external_table_without_txn_log" target="_blank" rel="noopener noreferrer"&gt;DELTA_CREATE_EXTERNAL_TABLE_WITHOUT_TXN_LOG&lt;/A&gt;] You are trying to create an external table `urochart-dev`.`qa_trunk`.`audittrail_2025_b` from `abfss://cdc-urochart@spsderlakeland01dev.dfs.core.windows.net/delta-tables-dev/audittrail_2025_b` using Delta, but there is no transaction log present at `abfss://cdc-urochart@spsderlakeland01dev.dfs.core.windows.net/delta-tables-dev/audittrail_2025_b/_delta_log`. Check the upstream job to make sure that it is writing using format("delta") and that the path is the root of the table. To learn more about Delta, see &lt;A class="" href="https://docs.microsoft.com/azure/databricks/delta/index" target="_blank" rel="noopener noreferrer"&gt;https://docs.microsoft.com/azure/databricks/delta/index&lt;/A&gt; SQLSTATE: 42K03&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This how the notebook is structure, the first cell is a bunch DROP TABLE&amp;nbsp; table_b statements, then&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CREATE&lt;/SPAN&gt; &lt;SPAN&gt;EXTERNAL&lt;/SPAN&gt; &lt;SPAN&gt;TABLE&lt;/SPAN&gt; &lt;SPAN&gt;qa_trunk&lt;/SPAN&gt;&lt;SPAN&gt;.audittrail_2025_b&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;using&lt;/SPAN&gt; &lt;SPAN&gt;delta&lt;/SPAN&gt; &lt;SPAN&gt;location&lt;/SPAN&gt; &lt;SPAN&gt;'abfss://cdc-urochart@spsderlakeland01dev.dfs.core.windows.net/delta-tables-dev/audittrail_2025_b'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I don't if someone here has faced this issue before so I can have some insight. I did a lot researches online but none of it help me fix that.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 May 2026 21:34:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-create-external-table-without-txn-log/m-p/156705#M54473</guid>
      <dc:creator>Yannick_B</dc:creator>
      <dc:date>2026-05-12T21:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: [DELTA_CREATE_EXTERNAL_TABLE_WITHOUT_TXN_LOG]</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-create-external-table-without-txn-log/m-p/157088#M54503</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/229920"&gt;@Yannick_B&lt;/a&gt;&amp;nbsp;&amp;nbsp;The error tells us that the location is not a valid Delta table because _delta_log is missing. Check the path, folder and table.&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2026 06:37:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-create-external-table-without-txn-log/m-p/157088#M54503</guid>
      <dc:creator>Sumit_7</dc:creator>
      <dc:date>2026-05-17T06:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: [DELTA_CREATE_EXTERNAL_TABLE_WITHOUT_TXN_LOG]</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-create-external-table-without-txn-log/m-p/157090#M54504</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/229920"&gt;@Yannick_B&lt;/a&gt;&amp;nbsp;You are trying to register an external table pointing to a directory that does not contain required Delta transaction logs (_delta_log folder) and hence you see the error.&lt;/P&gt;&lt;P&gt;When you run External Table Command,&amp;nbsp;Databricks generally expects that data already exists at that ADLS Gen2 location and was written using the Delta format. However, since its empty &amp;amp; no data has been written to that path yet (_delta_log folder does not exist). Databricks refuses to create an external Delta table over an empty directory.&lt;/P&gt;&lt;P&gt;You can follow any of the below&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Initialize the Table &amp;amp; Data&lt;/STRONG&gt;&lt;BR /&gt;Before you run the CREATE EXTERNAL TABLE statement, create a notebook that writes data to that path using DataFrame. This is &lt;STRONG&gt;suggested&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="python"&gt;df.write.format("delta").mode("append").save("abfss://cdc-urochart@spsderlakeland01dev.dfs.core.windows.net/delta-tables-dev/audittrail_2025_b")&lt;/LI-CODE&gt;&lt;P&gt;The code creates the delta table &amp;amp; _delta_log. CREATE EXTERNAL TABLE statement will then work.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Provide a Schema&lt;/STRONG&gt;&lt;BR /&gt;You can explicitly define the column schema in the table statement.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="python"&gt;CREATE EXTERNAL TABLE qa_trunk.audittrail_2025_b (
id INT,
action STRING
-- Add bronze schema columns
)
USING delta
LOCATION 'abfss://cdc-urochart@spsderlakeland01dev.dfs.core.windows.net/delta-tables'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2026 08:13:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-create-external-table-without-txn-log/m-p/157090#M54504</guid>
      <dc:creator>balajij8</dc:creator>
      <dc:date>2026-05-17T08:13:12Z</dc:date>
    </item>
  </channel>
</rss>

