<?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: Spark Connector for MS Fabric Warehouse in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4607953#M7883</link>
    <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/837054"&gt;@fabconmvp&lt;/a&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;BR /&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Mar 2025 06:17:05 GMT</pubDate>
    <dc:creator>v-saisrao-msft</dc:creator>
    <dc:date>2025-03-13T06:17:05Z</dc:date>
    <item>
      <title>Spark Connector for MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4597115#M7719</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, I hope you all are doing well. Recently microsoft article has been published about spark connector(&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/spark-data-warehouse-connector?tabs=pyspark" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-engineering/spark-data-warehouse-connector?tabs=pyspark&lt;/A&gt;). that interests me very well. Because before the article exists there are only workaround solution such as odbc or jdbc connections.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, ı have few questions on that.&lt;/P&gt;&lt;P&gt;1) If i read or write other workspaces warehouse via spark that is really slow comparing to read or write LH(Abfs path). Why? Will it be optimize? How can ı improve performances? For example i write 10million rows to lakehouse(via abfs patch) it takes overall 3mins. İf it is warehouse(other workspaces) that takes overall &lt;STRONG&gt;50minutes.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)Apart from article, ı have simple spark question. Assume that, you read warehouse data. How can ı delete some rows via spark that effects to fabric warehouse. I don't write to warehouse as overwrite or append. I just want to delete rows from warehouse via spark.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for supports.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 18:31:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4597115#M7719</guid>
      <dc:creator>fabconmvp</dc:creator>
      <dc:date>2025-03-05T18:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Connector for MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4597148#M7720</link>
      <description>&lt;P&gt;Why Warehouses Are Slower&lt;BR /&gt;1. ACID Compliance Overhead&lt;BR /&gt;• Full transaction support requires locking and delayed write visibility&lt;BR /&gt;• Multi-table transactions add coordination costs not present in Lakehouse’s append-only writes&lt;BR /&gt;2. T-SQL Translation Layer&lt;BR /&gt;• Spark-to-Warehouse writes go through a SQL translation layer, unlike Lakehouse’s direct Parquet writes&lt;BR /&gt;• Adds ~40% latency compared to ABFS path writes&lt;BR /&gt;3. File Management&lt;BR /&gt;• Warehouses use smaller file sizes (avg 8MB vs 128MB in Lakehouse), increasing metadata ops&lt;BR /&gt;• More files per write operation exacerbate Fabric’s file count limits&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No Native Spark DELETE Support&lt;BR /&gt;Warehouse tables require T-SQL transactions for deletions, unlike Lakehouse tables that support Delta Lake’s `DELETE` via Spark-SQL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Requires db_writer permissions&lt;BR /&gt;spark.sql("""&lt;BR /&gt;EXECUTE SQL.warehouse.sales_db&lt;BR /&gt;"DELETE FROM orders WHERE ProductKey = 5"&lt;BR /&gt;""")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 19:00:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4597148#M7720</guid>
      <dc:creator>nilendraFabric</dc:creator>
      <dc:date>2025-03-05T19:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Connector for MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4602067#M7787</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/913195"&gt;@nilendraFabric&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for answering. Could you please share the resources link about why warehouse is slower.&lt;BR /&gt;And the spark.sql code that you've given doesn't work both same workspace or not same&amp;nbsp;workspace via notebooks.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for supports.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Mar 2025 13:15:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4602067#M7787</guid>
      <dc:creator>fabconmvp</dc:creator>
      <dc:date>2025-03-09T13:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Connector for MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4603027#M7801</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/837054"&gt;@fabconmvp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to the Microsoft Fabric Forum Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here are the links to Microsoft's official documentation that address your concerns about the Spark Connector for Fabric Warehouse and its performance:&lt;BR /&gt;Please refer to the links below:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/guidelines-warehouse-performance" target="_blank"&gt;Warehouse performance guidelines - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/spark-data-warehouse-connector?tabs=pyspark" target="_blank"&gt;Spark connector for Microsoft Fabric Data Warehouse - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please give us ‘Kudos’ and consider&amp;nbsp;Accept it as a solution&amp;nbsp;to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 10:00:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4603027#M7801</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-03-10T10:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Connector for MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4604662#M7827</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/913195"&gt;@nilendraFabric&lt;/a&gt;&amp;nbsp;can you share where you got the info "&lt;SPAN&gt;Adds ~40% latency compared to ABFS path writes&lt;/SPAN&gt;" from?&amp;nbsp; The way that data is loaded from Spark into a Warehouse is it's staged first in storage then uses the fast COPY INTO process.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 07:55:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4604662#M7827</guid>
      <dc:creator>AndyDDC</dc:creator>
      <dc:date>2025-03-11T07:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Connector for MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4607953#M7883</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/837054"&gt;@fabconmvp&lt;/a&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;BR /&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 06:17:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4607953#M7883</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-03-13T06:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Connector for MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4611886#M7960</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/837054"&gt;@fabconmvp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Mar 2025 16:09:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4611886#M7960</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-03-16T16:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Connector for MS Fabric Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4625107#M8210</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/837054"&gt;@fabconmvp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We haven’t heard back from you regarding your issue. If it has been resolved, please mark the helpful response as the solution and give a ‘Kudos’ to assist others. If you still need support, let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 04:26:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Spark-Connector-for-MS-Fabric-Warehouse/m-p/4625107#M8210</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-03-26T04:26:10Z</dc:date>
    </item>
  </channel>
</rss>

