<?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 live table is inserting data multiple times in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/delta-live-table-is-inserting-data-multiple-times/m-p/69112#M33818</link>
    <description>&lt;P&gt;whats your source? your sink is a delta table correct? how do you verify that there are no inserts happening?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 00:28:40 GMT</pubDate>
    <dc:creator>jose_gonzalez</dc:creator>
    <dc:date>2024-05-16T00:28:40Z</dc:date>
    <item>
      <title>Delta live table is inserting data multiple times</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-table-is-inserting-data-multiple-times/m-p/69097#M33812</link>
      <description>&lt;P&gt;So I have created a delta live table&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which uses spark.sql() to execute a query&amp;nbsp;&lt;/P&gt;&lt;P&gt;And uses df.write.mode(append).insert into&lt;/P&gt;&lt;P&gt;To insert&amp;nbsp; data into the respective table An&lt;SPAN&gt;d at the end i return a dumy table&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since this was the requirement&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;So now I have also implemented count checks but still it is inserting the data 5-7 times&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I can check the same in table history where the pipline triggers and executes it for 7 times even though it has checked to insure if data is present do not insert it is still inserting&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Can someone help me debug this&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;And how is initialisation doen in delta live table&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 15:17:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-table-is-inserting-data-multiple-times/m-p/69097#M33812</guid>
      <dc:creator>zero234</dc:creator>
      <dc:date>2024-05-15T15:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Delta live table is inserting data multiple times</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-live-table-is-inserting-data-multiple-times/m-p/69112#M33818</link>
      <description>&lt;P&gt;whats your source? your sink is a delta table correct? how do you verify that there are no inserts happening?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 00:28:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-live-table-is-inserting-data-multiple-times/m-p/69112#M33818</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2024-05-16T00:28:40Z</dc:date>
    </item>
  </channel>
</rss>

