<?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 Can multiple streams write to a Delta table at the same time? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-multiple-streams-write-to-a-delta-table-at-the-same-time/m-p/23540#M16264</link>
    <description>&lt;P&gt;Wondering if there any dangers to doing this, and if it's a best practice. I'm concerned there could be conflicts but I'm not sure how Delta would handle it.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jun 2021 03:27:12 GMT</pubDate>
    <dc:creator>User16826992666</dc:creator>
    <dc:date>2021-06-17T03:27:12Z</dc:date>
    <item>
      <title>Can multiple streams write to a Delta table at the same time?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-multiple-streams-write-to-a-delta-table-at-the-same-time/m-p/23540#M16264</link>
      <description>&lt;P&gt;Wondering if there any dangers to doing this, and if it's a best practice. I'm concerned there could be conflicts but I'm not sure how Delta would handle it.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 03:27:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-multiple-streams-write-to-a-delta-table-at-the-same-time/m-p/23540#M16264</guid>
      <dc:creator>User16826992666</dc:creator>
      <dc:date>2021-06-17T03:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can multiple streams write to a Delta table at the same time?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-multiple-streams-write-to-a-delta-table-at-the-same-time/m-p/23541#M16265</link>
      <description>&lt;P&gt;Delta would enforce this dual write using optimistic concurrency and would not have an issue generally accepting multiple writes. Please note that data quality could be an issue if there is duplicate data coming in from multiple streams of if there were conflicting transactions (two updates, deletes etc.). &lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 00:05:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-multiple-streams-write-to-a-delta-table-at-the-same-time/m-p/23541#M16265</guid>
      <dc:creator>Ryan_Chynoweth</dc:creator>
      <dc:date>2021-06-18T00:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can multiple streams write to a Delta table at the same time?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-multiple-streams-write-to-a-delta-table-at-the-same-time/m-p/23542#M16266</link>
      <description>&lt;P&gt;&lt;I&gt;&amp;gt;Can multiple streams write to a Delta table at the same time?&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Yes delta uses &lt;A href="https://docs.databricks.com/delta/concurrency-control.html#concurrency-control" alt="https://docs.databricks.com/delta/concurrency-control.html#concurrency-control" target="_blank"&gt;optimistic concurrency control&lt;/A&gt; and &lt;A href="https://docs.databricks.com/delta/optimizations/isolation-level.html" alt="https://docs.databricks.com/delta/optimizations/isolation-level.html" target="_blank"&gt;configurable isolation levels&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;gt;I'm concerned there could be conflicts but I'm not sure how Delta would handle it.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Write operations can result in &lt;A href="https://docs.databricks.com/delta/concurrency-control.html#write-conflicts" alt="https://docs.databricks.com/delta/concurrency-control.html#write-conflicts" target="_blank"&gt;conflicts depending on the isolation level&lt;/A&gt; and could raise an exception. For more details on the types of exceptions and how to handle them - see &lt;A href="https://docs.databricks.com/delta/concurrency-control.html#conflict-exceptions" target="test_blank"&gt;https://docs.databricks.com/delta/concurrency-control.html#conflict-exceptions&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 05:51:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-multiple-streams-write-to-a-delta-table-at-the-same-time/m-p/23542#M16266</guid>
      <dc:creator>sajith_appukutt</dc:creator>
      <dc:date>2021-06-18T05:51:32Z</dc:date>
    </item>
  </channel>
</rss>

