<?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: Getting NO_TABLES_IN_PIPELINE error in Lakeflow Declarative Pipelines in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/getting-no-tables-in-pipeline-error-in-lakeflow-declarative/m-p/133710#M49908</link>
    <description>&lt;P&gt;So, we actually found the issue and it was code that was working before, but has just now stopped working.&amp;nbsp; Basically in the python we were creating the calling the function to create the tables in parallel using this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;max_workers = min(len(configs), 20, concurrent.futures.ThreadPoolExecutor()._max_workers or 20)&lt;BR /&gt;with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; list(executor.map(create_single_table, configs))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just changed it to do a for loop on the configs and that fixed it.&amp;nbsp; Out of curiousity to change the 20 above to 1 and it still gave the error.&amp;nbsp; So, that would've only done them 1 at a time; so it's more of an issue with that concurrent.futures code than actual parallel processing of calling the create_single_table function.&lt;/P&gt;&lt;P&gt;Here's the error for reference:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cpollock_0-1759502725412.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20405iEA9A1D60EAE8410E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cpollock_0-1759502725412.png" alt="cpollock_0-1759502725412.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While we have solved the issue after many hours of debugging Declarative Pipelines; which is not easy at all.&amp;nbsp; It brings up a bigger is in that we can't change the DBR version and things can just break and the actual error is very difficult to find.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Oct 2025 14:48:34 GMT</pubDate>
    <dc:creator>cpollock</dc:creator>
    <dc:date>2025-10-03T14:48:34Z</dc:date>
    <item>
      <title>Getting NO_TABLES_IN_PIPELINE error in Lakeflow Declarative Pipelines</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-no-tables-in-pipeline-error-in-lakeflow-declarative/m-p/133549#M49878</link>
      <description>&lt;P&gt;Yesterday (10/1) starting around 12 PM EST we starting getting the following error in our&amp;nbsp;Lakeflow Declarative Pipelines (LDP) process.&amp;nbsp; We get this in environments where none of our code has changed.&amp;nbsp; I found some info on the serverless compute about the Databricks Runtime version before the error and after.&lt;/P&gt;&lt;P&gt;This is the version on our last successful run:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;dlt:16.4.9-delta-pipelines-dlt-release-dp-20250918-rc0-commit-015f1e5-image-20d2b81&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And this is the version on all new runs getting the error:&amp;nbsp;&amp;nbsp;dlt:16.4.9-delta-pipelines-dlt-release-dp-20250925-rc0-commit-a18ed15-image-7ea1ff2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, the LDPs are based off of a python meta-data driven process (similar to DLT-META) that dynamically creates tables (in bronze and silver) using the dlt.table and dlt.create_streaming_table functions.&amp;nbsp; Have tried many different things but it seems debugging LDPs is very challenging since you can't do print and logging statements (at least not that I've seen).&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 14:19:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-no-tables-in-pipeline-error-in-lakeflow-declarative/m-p/133549#M49878</guid>
      <dc:creator>cpollock</dc:creator>
      <dc:date>2025-10-02T14:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting NO_TABLES_IN_PIPELINE error in Lakeflow Declarative Pipelines</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-no-tables-in-pipeline-error-in-lakeflow-declarative/m-p/133702#M49904</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/147224"&gt;@cpollock&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Check the “Event log” and “Pipeline logs” in the Databricks UI for any clues.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;also can you please share screenshot as pasted in window, attachment is not really working and only scanning&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 14:00:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-no-tables-in-pipeline-error-in-lakeflow-declarative/m-p/133702#M49904</guid>
      <dc:creator>saurabh18cs</dc:creator>
      <dc:date>2025-10-03T14:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting NO_TABLES_IN_PIPELINE error in Lakeflow Declarative Pipelines</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-no-tables-in-pipeline-error-in-lakeflow-declarative/m-p/133710#M49908</link>
      <description>&lt;P&gt;So, we actually found the issue and it was code that was working before, but has just now stopped working.&amp;nbsp; Basically in the python we were creating the calling the function to create the tables in parallel using this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;max_workers = min(len(configs), 20, concurrent.futures.ThreadPoolExecutor()._max_workers or 20)&lt;BR /&gt;with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; list(executor.map(create_single_table, configs))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just changed it to do a for loop on the configs and that fixed it.&amp;nbsp; Out of curiousity to change the 20 above to 1 and it still gave the error.&amp;nbsp; So, that would've only done them 1 at a time; so it's more of an issue with that concurrent.futures code than actual parallel processing of calling the create_single_table function.&lt;/P&gt;&lt;P&gt;Here's the error for reference:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cpollock_0-1759502725412.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20405iEA9A1D60EAE8410E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cpollock_0-1759502725412.png" alt="cpollock_0-1759502725412.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While we have solved the issue after many hours of debugging Declarative Pipelines; which is not easy at all.&amp;nbsp; It brings up a bigger is in that we can't change the DBR version and things can just break and the actual error is very difficult to find.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 14:48:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-no-tables-in-pipeline-error-in-lakeflow-declarative/m-p/133710#M49908</guid>
      <dc:creator>cpollock</dc:creator>
      <dc:date>2025-10-03T14:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting NO_TABLES_IN_PIPELINE error in Lakeflow Declarative Pipelines</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-no-tables-in-pipeline-error-in-lakeflow-declarative/m-p/133902#M49957</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/147224"&gt;@cpollock&lt;/a&gt;&amp;nbsp;Indeed&amp;nbsp;&lt;STRONG&gt;Lakeflow/Delta Live Tables pipeline definitions are not thread-safe.&amp;nbsp;&lt;/STRONG&gt;Avoid using threading, multiprocessing, or async code for pipeline definition. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 07:28:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-no-tables-in-pipeline-error-in-lakeflow-declarative/m-p/133902#M49957</guid>
      <dc:creator>saurabh18cs</dc:creator>
      <dc:date>2025-10-06T07:28:55Z</dc:date>
    </item>
  </channel>
</rss>

