<?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 Is it possible to write single Spark stream to 2 different Delta tables? Recommendations around that? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-write-single-spark-stream-to-2-different-delta/m-p/23111#M15919</link>
    <description />
    <pubDate>Thu, 17 Jun 2021 18:34:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-06-17T18:34:08Z</dc:date>
    <item>
      <title>Is it possible to write single Spark stream to 2 different Delta tables? Recommendations around that?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-write-single-spark-stream-to-2-different-delta/m-p/23111#M15919</link>
      <description />
      <pubDate>Thu, 17 Jun 2021 18:34:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-write-single-spark-stream-to-2-different-delta/m-p/23111#M15919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-17T18:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to write single Spark stream to 2 different Delta tables? Recommendations around that?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-write-single-spark-stream-to-2-different-delta/m-p/23112#M15920</link>
      <description>&lt;P&gt;In this scenario, the best option would be to have a single readStream reading a source delta table. Since checkpoint logs are controlled when writing to delta tables you would be able to maintain separate logs for each of your writeStreams.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend storing your checkpoint file in a `_checkpoint` sub-directory in your delta table directory. The "_" will allow spark to ignore it when reading the table and you are able to maintain those checkpoints with the appropriate tables. &lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 19:36:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-write-single-spark-stream-to-2-different-delta/m-p/23112#M15920</guid>
      <dc:creator>Ryan_Chynoweth</dc:creator>
      <dc:date>2021-06-17T19:36:20Z</dc:date>
    </item>
  </channel>
</rss>

