<?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: Implementing Incremental Ingestion in Fabric Lakehouse from an Oracle Table with Copy Data in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Implementing-Incremental-Ingestion-in-Fabric-Lakehouse-from-an/m-p/4406034#M7053</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="772917" data-lia-user-login="gaioladigital" class="lia-mention lia-mention-user"&gt;gaioladigital&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are some of my thoughts on the question you asked:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After loading the data, use a SQL query to get the highest value of the order column from the Delta table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SELECT MAX(sequential_column) AS max_value FROM DeltaTable;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Store the query result in a parameter for later use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;In the COPY DATA activity, add a filter condition to extract only the records where the sequential column value is greater than max_value.&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; Add the filter condition in the query of the source dataset:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SELECT * FROM OracleTable WHERE sequential_column &amp;gt; @max_value;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Where @max_value is the parameter stored previously.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/connector-oracle-database-copy-activity" target="_blank" rel="noopener"&gt;Configure Oracle database in a copy activity - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Append new data to the existing Delta table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;After each incremental load, use a SQL query to get the new highest value from the Delta table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Run the pipeline with scheduled refresh to ensure data is incrementally loaded regularly.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Regards,&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Nono Chen&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;If this &lt;STRONG&gt;&lt;EM&gt;post&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;helps, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2025 02:33:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-02-12T02:33:16Z</dc:date>
    <item>
      <title>Implementing Incremental Ingestion in Fabric Lakehouse from an Oracle Table with Copy Data</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Implementing-Incremental-Ingestion-in-Fabric-Lakehouse-from-an/m-p/4405676#M7051</link>
      <description>&lt;P&gt;I'm ingesting an oracle table using COPY DATA and turning it into a delta table in Fabric Lake house. However, the table I'm pulling takes an hour. I wanted to create a rule, where the next time I do a copy data, I go to this generated delta table to get the highest value in the sequential column. Then the next time I do the copy data, it uses the parameter, based on what has already been replicated. How can I do this?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 18:47:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Implementing-Incremental-Ingestion-in-Fabric-Lakehouse-from-an/m-p/4405676#M7051</guid>
      <dc:creator>gaioladigital</dc:creator>
      <dc:date>2025-02-11T18:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing Incremental Ingestion in Fabric Lakehouse from an Oracle Table with Copy Data</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Implementing-Incremental-Ingestion-in-Fabric-Lakehouse-from-an/m-p/4406034#M7053</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="772917" data-lia-user-login="gaioladigital" class="lia-mention lia-mention-user"&gt;gaioladigital&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are some of my thoughts on the question you asked:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After loading the data, use a SQL query to get the highest value of the order column from the Delta table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SELECT MAX(sequential_column) AS max_value FROM DeltaTable;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Store the query result in a parameter for later use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;In the COPY DATA activity, add a filter condition to extract only the records where the sequential column value is greater than max_value.&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; Add the filter condition in the query of the source dataset:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SELECT * FROM OracleTable WHERE sequential_column &amp;gt; @max_value;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Where @max_value is the parameter stored previously.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/connector-oracle-database-copy-activity" target="_blank" rel="noopener"&gt;Configure Oracle database in a copy activity - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Append new data to the existing Delta table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;After each incremental load, use a SQL query to get the new highest value from the Delta table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Run the pipeline with scheduled refresh to ensure data is incrementally loaded regularly.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Regards,&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Nono Chen&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;If this &lt;STRONG&gt;&lt;EM&gt;post&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;helps, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 02:33:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Implementing-Incremental-Ingestion-in-Fabric-Lakehouse-from-an/m-p/4406034#M7053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-02-12T02:33:16Z</dc:date>
    </item>
  </channel>
</rss>

