<?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: How does Destination &amp;gt; Overwrite with a partition columns work ? in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/How-does-Destination-gt-Overwrite-with-a-partition-columns-work/m-p/4117270#M5127</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="732696" data-lia-user-login="gregbortolotti" class="lia-mention lia-mention-user"&gt;gregbortolotti&lt;/a&gt;&amp;nbsp;- Overwrite with a Partition specific will overwrite the entire partition, it does not perform a merge.&amp;nbsp; Likewise, the Append will add new rows the partition but will not update the old versions.&amp;nbsp; &amp;nbsp;You can do a merge however in Notebooks, we do a lot of that with Partitioned and Non-Partitioned data, link to the Databricks documentation (still applies to Fabric, I just like the documentation better).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A title="Merge Commands" href="https://docs.databricks.com/en/sql/language-manual/delta-merge-into.html?scid=7018Y000001Fi1mQAC&amp;amp;utm_medium=paid+search&amp;amp;utm_source=google&amp;amp;utm_campaign=17115062609&amp;amp;utm_adgroup=142991766384&amp;amp;utm_content=ebook&amp;amp;utm_offer=delta-lake-running-oreilly&amp;amp;utm_ad=665911854841&amp;amp;utm_term=delta%20databricks&amp;amp;gad_source=1&amp;amp;gclid=Cj0KCQjwrKu2BhDkARIsAD7GBotEQUHcSuigNASomF7UZ8rtQmmKled53ya52U-C9qHI5QFwXj--Ya8aAnzvEALw_wcB" target="_blank" rel="noopener"&gt;Merge Into&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Partitioning for very large tables to help speed up data access activities based on the partition field.&amp;nbsp; Think of it as grouping data/transactions together.&amp;nbsp; If you have transactional data that doesn't change, sometimes you would partition that by Transaction Date; that way when looking for Transactions in that time period it only queries that Partition vs the whole dataset.&lt;/P&gt;</description>
    <pubDate>Sun, 25 Aug 2024 14:44:57 GMT</pubDate>
    <dc:creator>jwinchell40</dc:creator>
    <dc:date>2024-08-25T14:44:57Z</dc:date>
    <item>
      <title>How does Destination &gt; Overwrite with a partition columns work ?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-does-Destination-gt-Overwrite-with-a-partition-columns-work/m-p/4115275#M5113</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I would like to understand how does a partition column work.&lt;BR /&gt;&lt;BR /&gt;For the context, I have a pipeline that goes from a MySQL database to a Lakehouse, I would like to do is an upsert (with a query that only get the lines updated based on an update date).&lt;BR /&gt;&lt;BR /&gt;Back to my pipeline, I choose Overwrite and a partition column on my ID. My thought was that it would just "upsert" the data, so insert the news and update the olds.&lt;BR /&gt;What it is doing is just overwriting everything, so I only have the result of my request.&lt;/P&gt;&lt;P&gt;Is it a misconfiguration ?&lt;/P&gt;&lt;P&gt;What is a point of choosing a partition columns ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also, Append with a partition column is not an option, it is not updating the olds lines if my understanding is correct.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time,&lt;BR /&gt;Sincerely,&lt;BR /&gt;&lt;BR /&gt;Greg&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 08:13:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-does-Destination-gt-Overwrite-with-a-partition-columns-work/m-p/4115275#M5113</guid>
      <dc:creator>gregbortolotti</dc:creator>
      <dc:date>2024-08-23T08:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: How does Destination &gt; Overwrite with a partition columns work ?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-does-Destination-gt-Overwrite-with-a-partition-columns-work/m-p/4117270#M5127</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="732696" data-lia-user-login="gregbortolotti" class="lia-mention lia-mention-user"&gt;gregbortolotti&lt;/a&gt;&amp;nbsp;- Overwrite with a Partition specific will overwrite the entire partition, it does not perform a merge.&amp;nbsp; Likewise, the Append will add new rows the partition but will not update the old versions.&amp;nbsp; &amp;nbsp;You can do a merge however in Notebooks, we do a lot of that with Partitioned and Non-Partitioned data, link to the Databricks documentation (still applies to Fabric, I just like the documentation better).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A title="Merge Commands" href="https://docs.databricks.com/en/sql/language-manual/delta-merge-into.html?scid=7018Y000001Fi1mQAC&amp;amp;utm_medium=paid+search&amp;amp;utm_source=google&amp;amp;utm_campaign=17115062609&amp;amp;utm_adgroup=142991766384&amp;amp;utm_content=ebook&amp;amp;utm_offer=delta-lake-running-oreilly&amp;amp;utm_ad=665911854841&amp;amp;utm_term=delta%20databricks&amp;amp;gad_source=1&amp;amp;gclid=Cj0KCQjwrKu2BhDkARIsAD7GBotEQUHcSuigNASomF7UZ8rtQmmKled53ya52U-C9qHI5QFwXj--Ya8aAnzvEALw_wcB" target="_blank" rel="noopener"&gt;Merge Into&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Partitioning for very large tables to help speed up data access activities based on the partition field.&amp;nbsp; Think of it as grouping data/transactions together.&amp;nbsp; If you have transactional data that doesn't change, sometimes you would partition that by Transaction Date; that way when looking for Transactions in that time period it only queries that Partition vs the whole dataset.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 14:44:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-does-Destination-gt-Overwrite-with-a-partition-columns-work/m-p/4117270#M5127</guid>
      <dc:creator>jwinchell40</dc:creator>
      <dc:date>2024-08-25T14:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: How does Destination &gt; Overwrite with a partition columns work ?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-does-Destination-gt-Overwrite-with-a-partition-columns-work/m-p/4117458#M5133</link>
      <description>&lt;P&gt;Some more options for how to update or upsert by using the Delta Lake Python API in a Notebook:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.delta.io/latest/delta-update.html" target="_blank" rel="noopener"&gt;https://docs.delta.io/latest/delta-update.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 22:59:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-does-Destination-gt-Overwrite-with-a-partition-columns-work/m-p/4117458#M5133</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-08-25T22:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: How does Destination &gt; Overwrite with a partition columns work ?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-does-Destination-gt-Overwrite-with-a-partition-columns-work/m-p/4120383#M5154</link>
      <description>&lt;P&gt;Thank you very much for explanation. Now it is clearer to me now.&lt;BR /&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 09:10:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-does-Destination-gt-Overwrite-with-a-partition-columns-work/m-p/4120383#M5154</guid>
      <dc:creator>gregbortolotti</dc:creator>
      <dc:date>2024-08-27T09:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: How does Destination &gt; Overwrite with a partition columns work ?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-does-Destination-gt-Overwrite-with-a-partition-columns-work/m-p/4120453#M5155</link>
      <description>&lt;P&gt;Here is also a Fabric Idea to get the Upsert functionality natively in Data Pipeline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Consider voting to highlight this need:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Support UPSERTs and DELETEs when copying data into Lakehouse Tables from Pipeline copy activity, as opposed to Appending new rows&lt;/P&gt;&lt;P&gt;&lt;A href="https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=87f3d168-6022-ee11-a81c-6045bdc01ce4" target="_blank"&gt;https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=87f3d168-6022-ee11-a81c-6045bdc01ce4&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 09:49:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-does-Destination-gt-Overwrite-with-a-partition-columns-work/m-p/4120453#M5155</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-08-27T09:49:59Z</dc:date>
    </item>
  </channel>
</rss>

