<?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 incremental amass data advisable with SQL analytics Endpoint? in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/Is-incremental-amass-data-advisable-with-SQL-analytics-Endpoint/m-p/4105439#M3650</link>
    <description>&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2" target="_self"&gt;Incremental amass data&lt;/A&gt;&amp;nbsp;&amp;nbsp;with df gen2 requires the max watermark (e.g. id) of the target to be queried first and then pass on the source table query filtering&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;// high level these are the steps
A. get max id of target lakehouse table
B. generate rows from source by querying data where src id&amp;gt; target maxId (from A)
C. Append only rows from B to target lakehouse table&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;While the doc recommends to query the target table using Lakehouse connector and get the max data using PQ, I want to replace this by querying the target lakehouse table using SQL end-point which is far more efficient in getting a scalar value (select max(id) from StagingLakehouse.dbo.orders) rather than using PQ to get the whole data and then a method to get a scalar value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My only dilema in doing this is &lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/SQL-Endpoint-Slow-To-Reflect-Changes-In-Lakehouse/m-p/3702574" target="_self"&gt;SQL-Endpoint-Slow-To-Reflect-Changes-In-Lakehouse&lt;/A&gt;&amp;nbsp; / &lt;A href="https://community.fabric.microsoft.com/t5/General-Discussion/Delayed-data-refresh-in-SQL-Analytical-Endpoint/m-p/3543882" target="_self"&gt;Delayed-data-refresh-in-SQL-Analytical-Endpoint&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What if I do incremental amass frequently in a very short span, I am scared the delay from SQL endpoint will mess up the final table as the most recent id will not be returned by SQL end point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is some1 currently performing incremental amass with Lakehouse SQL end point?&lt;/P&gt;</description>
    <pubDate>Sat, 17 Aug 2024 23:24:15 GMT</pubDate>
    <dc:creator>smpa01</dc:creator>
    <dc:date>2024-08-17T23:24:15Z</dc:date>
    <item>
      <title>Is incremental amass data advisable with SQL analytics Endpoint?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Is-incremental-amass-data-advisable-with-SQL-analytics-Endpoint/m-p/4105439#M3650</link>
      <description>&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2" target="_self"&gt;Incremental amass data&lt;/A&gt;&amp;nbsp;&amp;nbsp;with df gen2 requires the max watermark (e.g. id) of the target to be queried first and then pass on the source table query filtering&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;// high level these are the steps
A. get max id of target lakehouse table
B. generate rows from source by querying data where src id&amp;gt; target maxId (from A)
C. Append only rows from B to target lakehouse table&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;While the doc recommends to query the target table using Lakehouse connector and get the max data using PQ, I want to replace this by querying the target lakehouse table using SQL end-point which is far more efficient in getting a scalar value (select max(id) from StagingLakehouse.dbo.orders) rather than using PQ to get the whole data and then a method to get a scalar value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My only dilema in doing this is &lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/SQL-Endpoint-Slow-To-Reflect-Changes-In-Lakehouse/m-p/3702574" target="_self"&gt;SQL-Endpoint-Slow-To-Reflect-Changes-In-Lakehouse&lt;/A&gt;&amp;nbsp; / &lt;A href="https://community.fabric.microsoft.com/t5/General-Discussion/Delayed-data-refresh-in-SQL-Analytical-Endpoint/m-p/3543882" target="_self"&gt;Delayed-data-refresh-in-SQL-Analytical-Endpoint&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What if I do incremental amass frequently in a very short span, I am scared the delay from SQL endpoint will mess up the final table as the most recent id will not be returned by SQL end point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is some1 currently performing incremental amass with Lakehouse SQL end point?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 23:24:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Is-incremental-amass-data-advisable-with-SQL-analytics-Endpoint/m-p/4105439#M3650</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2024-08-17T23:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is incremental amass data advisable with SQL analytics Endpoint?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Is-incremental-amass-data-advisable-with-SQL-analytics-Endpoint/m-p/4105538#M3651</link>
      <description>&lt;P&gt;The Lakehouse.contents() connector already uses the SQL Analytics Endpoint if you're querying a Table of the Lakehouse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.reddit.com/r/MicrosoftFabric/s/gbnlQv5foU" target="_blank" rel="noopener"&gt;https://www.reddit.com/r/MicrosoftFabric/s/gbnlQv5foU&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.reddit.com/r/MicrosoftFabric/s/fB3kcQFSWr" target="_blank" rel="noopener"&gt;https://www.reddit.com/r/MicrosoftFabric/s/fB3kcQFSWr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you will run the same risk.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 05:49:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Is-incremental-amass-data-advisable-with-SQL-analytics-Endpoint/m-p/4105538#M3651</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-08-18T05:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is incremental amass data advisable with SQL analytics Endpoint?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Is-incremental-amass-data-advisable-with-SQL-analytics-Endpoint/m-p/4105645#M3655</link>
      <description>&lt;P&gt;Great insight.&lt;/P&gt;
&lt;P&gt;In that case, is MS working towards fixing the lag? Is there a timeline? This is extemely annoying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is safest connector for this purpose ATM (even if inefficient).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am paying for all my table reads. Hence, I expect MS to cure this lag so that I can write fully qualified efficient SQL queries to bring in scalar values.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 12:48:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Is-incremental-amass-data-advisable-with-SQL-analytics-Endpoint/m-p/4105645#M3655</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2024-08-18T12:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is incremental amass data advisable with SQL analytics Endpoint?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Is-incremental-amass-data-advisable-with-SQL-analytics-Endpoint/m-p/4105699#M3656</link>
      <description>&lt;P&gt;I don't know. I'm hoping to get guidance on how to handle the potential lag issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the ADLS connector (AzureStorage.DataLake() function) in combination with the DeltaLake.Table() function is&lt;SPAN&gt;&amp;nbsp;an option if we want to query the Delta Tables in the 'Lake' part of the Lakehouse from Power BI Desktop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.fabric.microsoft.com/en-us/blog/read-data-from-delta-lake-tables-with-the-deltalake-table-m-function/" target="_blank" rel="noopener"&gt;https://blog.fabric.microsoft.com/en-us/blog/read-data-from-delta-lake-tables-with-the-deltalake-table-m-function/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if Power BI is able to do query folding with this connector. So it could perhaps be more heavy for the Power Query engine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I'm not sure if we would get charged for ADLS read/write transactions by using this method. However the latter would surprise me as the data is logically stored in OneLake so I think it should consume Fabric CUs and not ADLS transactions. But I'm just guessing here.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 13:38:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Is-incremental-amass-data-advisable-with-SQL-analytics-Endpoint/m-p/4105699#M3656</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-08-18T13:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is incremental amass data advisable with SQL analytics Endpoint?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Is-incremental-amass-data-advisable-with-SQL-analytics-Endpoint/m-p/4105727#M3657</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="437984" data-lia-user-login="frithjof_v" class="lia-mention lia-mention-user"&gt;frithjof_v&lt;/a&gt;&amp;nbsp; if there was no lag, the best solution would be to use the sql endpoint to get a scalar value for incremental amass. It is efficient and has better query plan.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even if you use Lakouse connectors it first brings the whole table and then you get a scalar value, which to me is inefficient too. Isn't that making unnecessary readings ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like AzureStorage.DataLake combined with DeltaLake.Table could be safest option ATM even though it might require more CU for reading (I am guessing).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope someone from MS comment in this thread in respect to&lt;/P&gt;
&lt;P&gt;A. Lag fixing timeline for SQL endpoint of Lakehouse.&lt;/P&gt;
&lt;P&gt;B. Till it happens, what is the safest connector to use&lt;/P&gt;
&lt;P&gt;C. What is the reading impact of B on CU unit&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 14:30:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Is-incremental-amass-data-advisable-with-SQL-analytics-Endpoint/m-p/4105727#M3657</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2024-08-18T14:30:14Z</dc:date>
    </item>
  </channel>
</rss>

