<?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: Pipelines are expected to have at least one table  Error While running DLT pipeline in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/pipelines-are-expected-to-have-at-least-one-table-error-while/m-p/116034#M45229</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/160211"&gt;@vignesh22&lt;/a&gt;&amp;nbsp;- Adding to what&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/90996"&gt;@Takuya-Omi&lt;/a&gt;&amp;nbsp;san has mentioned - the instantiation of streaming table in your definition is incorrect. You're trying to create a stream table using a batch source which will result in the DLT Analysis Exception as described below.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;com.databricks.pipelines.common.errors.DLTAnalysisException: Creating a streaming table from a batch query prevents incremental loading of new data from source. Offending table: 'dev.default.test_table'.
Please use the stream() operator. Example usage:
CREATE STREAMING TABLE &amp;lt;target table name&amp;gt; ... AS SELECT ... FROM stream(&amp;lt;source table name&amp;gt;) ...&lt;/LI-CODE&gt;&lt;P&gt;If you're only trying to test the functionality of DLT, may be create a materialized view rather than the streaming table.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-create-materialized-view&amp;nbsp;" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-create-materialized-view&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if any questions! Cheers!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Apr 2025 07:35:01 GMT</pubDate>
    <dc:creator>RiyazAliM</dc:creator>
    <dc:date>2025-04-21T07:35:01Z</dc:date>
    <item>
      <title>Pipelines are expected to have at least one table  Error While running DLT pipeline</title>
      <link>https://community.databricks.com/t5/data-engineering/pipelines-are-expected-to-have-at-least-one-table-error-while/m-p/115916#M45213</link>
      <description>&lt;P&gt;Error :Pipelines are expected to have at least one table defined but&lt;/P&gt;&lt;P&gt;no tables were found in your pipeline&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote simple code as phase 1 debug&lt;BR /&gt;%sql CREATE OR REFRESH STREAMING TABLE test_table AS SELECT "hello" as greeting;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can u plz help what's wrong in this code ?&lt;/P&gt;&lt;P&gt;Pricing Tier : Premium (+ Role-based access controls) (Click to change)&lt;/P&gt;</description>
      <pubDate>Sat, 19 Apr 2025 16:03:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pipelines-are-expected-to-have-at-least-one-table-error-while/m-p/115916#M45213</guid>
      <dc:creator>vignesh22</dc:creator>
      <dc:date>2025-04-19T16:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Pipelines are expected to have at least one table  Error While running DLT pipeline</title>
      <link>https://community.databricks.com/t5/data-engineering/pipelines-are-expected-to-have-at-least-one-table-error-while/m-p/115917#M45214</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/160211"&gt;@vignesh22&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Delta Live Tables (DLT), magic commands (such as %sql) are not used. In a DLT pipeline, you need to write SQL code directly. Please try removing %sql and running the DLT pipeline again.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Apr 2025 17:21:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pipelines-are-expected-to-have-at-least-one-table-error-while/m-p/115917#M45214</guid>
      <dc:creator>Takuya-Omi</dc:creator>
      <dc:date>2025-04-19T17:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Pipelines are expected to have at least one table  Error While running DLT pipeline</title>
      <link>https://community.databricks.com/t5/data-engineering/pipelines-are-expected-to-have-at-least-one-table-error-while/m-p/116034#M45229</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/160211"&gt;@vignesh22&lt;/a&gt;&amp;nbsp;- Adding to what&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/90996"&gt;@Takuya-Omi&lt;/a&gt;&amp;nbsp;san has mentioned - the instantiation of streaming table in your definition is incorrect. You're trying to create a stream table using a batch source which will result in the DLT Analysis Exception as described below.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;com.databricks.pipelines.common.errors.DLTAnalysisException: Creating a streaming table from a batch query prevents incremental loading of new data from source. Offending table: 'dev.default.test_table'.
Please use the stream() operator. Example usage:
CREATE STREAMING TABLE &amp;lt;target table name&amp;gt; ... AS SELECT ... FROM stream(&amp;lt;source table name&amp;gt;) ...&lt;/LI-CODE&gt;&lt;P&gt;If you're only trying to test the functionality of DLT, may be create a materialized view rather than the streaming table.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-create-materialized-view&amp;nbsp;" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-create-materialized-view&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if any questions! Cheers!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 07:35:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pipelines-are-expected-to-have-at-least-one-table-error-while/m-p/116034#M45229</guid>
      <dc:creator>RiyazAliM</dc:creator>
      <dc:date>2025-04-21T07:35:01Z</dc:date>
    </item>
  </channel>
</rss>

