<?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: Which is the  recommended way to write the data back to the delta lake? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/which-is-the-recommended-way-to-write-the-data-back-to-the-delta/m-p/19477#M13054</link>
    <description>&lt;P&gt;Hey there @Krishna Puthran​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope everything is going great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does @Kaniz Fatma​'s answer help? If it does, would you be happy to mark it as best? If it doesn't, please tell us so we can help you further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2022 16:16:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-07-26T16:16:36Z</dc:date>
    <item>
      <title>Which is the  recommended way to write the data back to the delta lake?</title>
      <link>https://community.databricks.com/t5/data-engineering/which-is-the-recommended-way-to-write-the-data-back-to-the-delta/m-p/19475#M13052</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to understand whether my approach to deal with delta lake is correct or not? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First time I create a delta lake using the following command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;-&amp;gt; df_json.write.mode('overwrite').format('delta').save(delta_silver + json_file_path )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I create the delta table for the above location using the following command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;-&amp;gt; deltaTableStore = DeltaTable.forPath(spark, delta_silver + detlta_table1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I perform some operations on this deltaTableStore, such as I merge some data to this delta lake frame.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1828iF8F1E0E3D5BD5C84/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;	&lt;/P&gt;&lt;P&gt;4. My understanding is that, deltaTableStore.merge() operation will update the data in the persistance also. I need do the write back operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know my understanding is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 14:37:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/which-is-the-recommended-way-to-write-the-data-back-to-the-delta/m-p/19475#M13052</guid>
      <dc:creator>Krish-685291</dc:creator>
      <dc:date>2022-05-26T14:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Which is the  recommended way to write the data back to the delta lake?</title>
      <link>https://community.databricks.com/t5/data-engineering/which-is-the-recommended-way-to-write-the-data-back-to-the-delta/m-p/19477#M13054</link>
      <description>&lt;P&gt;Hey there @Krishna Puthran​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope everything is going great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does @Kaniz Fatma​'s answer help? If it does, would you be happy to mark it as best? If it doesn't, please tell us so we can help you further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 16:16:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/which-is-the-recommended-way-to-write-the-data-back-to-the-delta/m-p/19477#M13054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-26T16:16:36Z</dc:date>
    </item>
  </channel>
</rss>

