<?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: Difference @dlt.table and @dlt.create_table decorator in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/difference-dlt-table-and-dlt-create-table-decorator/m-p/63091#M32168</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;, Are you suggesting that the first time a pipeline runs, the below decorator should be used:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;@dlt.create_table&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;And the once the pipeline runs, the notebook should be edited to use this decorator:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;@dlt.table&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 18:26:15 GMT</pubDate>
    <dc:creator>ac0</dc:creator>
    <dc:date>2024-03-08T18:26:15Z</dc:date>
    <item>
      <title>Difference @dlt.table and @dlt.create_table decorator</title>
      <link>https://community.databricks.com/t5/data-engineering/difference-dlt-table-and-dlt-create-table-decorator/m-p/42953#M27454</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm currently trying to stream data from an Azure Event Hub (kafka) using DLT. The provided example (&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/event-hubs" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/event-hubs&lt;/A&gt;) works well.&lt;/P&gt;&lt;P&gt;I saw in different examples the usage of two different decorators "@dlt.table" and "@dlt.create_table" but I could not find out which the correct one is. It works with both, also if the table does not exist when starting the DLT-pipeline.&lt;/P&gt;&lt;P&gt;Can anybody tell me which the correct one is and what the differences are?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 09:16:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/difference-dlt-table-and-dlt-create-table-decorator/m-p/42953#M27454</guid>
      <dc:creator>RaccoonRadio</dc:creator>
      <dc:date>2023-08-31T09:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Difference @dlt.table and @dlt.create_table decorator</title>
      <link>https://community.databricks.com/t5/data-engineering/difference-dlt-table-and-dlt-create-table-decorator/m-p/63091#M32168</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;, Are you suggesting that the first time a pipeline runs, the below decorator should be used:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;@dlt.create_table&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;And the once the pipeline runs, the notebook should be edited to use this decorator:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;@dlt.table&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 18:26:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/difference-dlt-table-and-dlt-create-table-decorator/m-p/63091#M32168</guid>
      <dc:creator>ac0</dc:creator>
      <dc:date>2024-03-08T18:26:15Z</dc:date>
    </item>
  </channel>
</rss>

