<?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: Intermittent Failures during Fabric Warehouse Table Updates with dbt on Azure Container Instances in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3470696#M182</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="593729" data-lia-user-login="ShunOshidari" class="lia-mention lia-mention-user"&gt;ShunOshidari&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Apologies that you are still facing this issue.&lt;/P&gt;
&lt;P&gt;Please make sure&amp;nbsp;that all the pre-requisites mentioned in this section has been taken care and also make sure to follow the step by step guide to set up dbt in microsoft fabric as mentioned in this tutorial:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/tutorial-setup-dbt#prerequisites-for-the-dbt-adapter-for-microsoft-fabric" target="_self"&gt;Link1&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;If 'dbt test' step fails, try to jump to next step 'dbt run' before test as discussed in this video:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=7JXwLsgp9L4&amp;amp;t=2807s" target="_self"&gt;Link2&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Additionally, if issue still persists, then try the following workaround:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have several options to mitigate this issue:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Enable connection pooling in Linux has to be enabled both by the application and in the driver manager, and is off by default might and also we are going to improve the connection at client side.&lt;/LI&gt;
&lt;LI&gt;Change to redirect,&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/azure-sql/database/connectivity-architecture?view=azuresql" target="_self"&gt;Link3&lt;/A&gt;&amp;nbsp; improving the connection at server side and remove idle connection threshold.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Implement the retry logic as follow in Python.&lt;BR /&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope this helps. Please let us know if you have any further queries.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2023 08:45:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-10-11T08:45:24Z</dc:date>
    <item>
      <title>Intermittent Failures during Fabric Warehouse Table Updates with dbt on Azure Container Instances</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3463023#M178</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I’m writing to ask if anyone else has encountered the following error while updating tables on the Fabric Warehouse: (‘08S01’, ’[&lt;/SPAN&gt;&lt;SPAN&gt;08S01&lt;/SPAN&gt;&lt;SPAN&gt;] [&lt;/SPAN&gt;&lt;SPAN&gt;Microsoft&lt;/SPAN&gt;&lt;SPAN&gt;][ODBC Driver 18 for SQL Server]TCP Provider: Error code 0x274C (10060) (SQLExecDirectW)’).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;This issue started occurring at some unknown point and happens sporadically, making it difficult to write a support ticket. It doesn’t always happen, and the exact conditions causing it remain unclear. That’s why I’m seeking to gather information about this issue.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;For context, I’m using the dbt-fabric data transformation framework to update data in the Fabric warehouse. The framework seems to use pyodbc to update the Warehouse via the SQL endpoint.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://github.com/microsoft/dbt-fabric" target="_blank" rel="noopener"&gt;https://github.com/microsoft/dbt-fabric&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;In the job of updating around 50 tables, all can be successful at times, but there are also instances where a few fail.&amp;nbsp;I'm running dbt on Azure Container Instances.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;If anyone else has experienced a similar issue, I would greatly appreciate your input.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Oct 2023 04:48:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3463023#M178</guid>
      <dc:creator>ShunOshidari</dc:creator>
      <dc:date>2023-10-06T04:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Failures during Fabric Warehouse Table Updates with dbt on Azure Container Instances</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3464121#M179</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="593729" data-lia-user-login="ShunOshidari" class="lia-mention lia-mention-user"&gt;ShunOshidari&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thanks for using Fabric Community.&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class="" dir="ltr"&gt;
&lt;P data-sourcepos="1:1-1:149"&gt;The error code 0x274C (10060) indicates that the SQL Server client cannot connect to the server. This could occur for a number of reasons, including:&lt;/P&gt;
&lt;UL data-sourcepos="3:1-7:0"&gt;
&lt;LI data-sourcepos="3:1-3:56"&gt;The firewall on the server is blocking the connection.&lt;/LI&gt;
&lt;LI data-sourcepos="4:1-4:60"&gt;The server is not configured to accept remote connections.&lt;/LI&gt;
&lt;LI data-sourcepos="5:1-5:36"&gt;The server is down or unreachable.&lt;/LI&gt;
&lt;LI data-sourcepos="6:1-7:0"&gt;There is a network problem between the client and the server.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer these links for help :&amp;nbsp;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://stackoverflow.com/questions/64876580/sql-server-odbc-tcp-provider-error-code-0x274c" target="_self"&gt;Link1&amp;nbsp; &amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.appsloveworld.com/sql-server/100/130/pyodbc-operationalerror-sql-server-does-not-exist-or-access-denied-17-sqldri" target="_self"&gt;Link2&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps. Do let us know if you have any further issues.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Oct 2023 15:13:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3464121#M179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-06T15:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Failures during Fabric Warehouse Table Updates with dbt on Azure Container Instances</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3466254#M180</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="593729" data-lia-user-login="ShunOshidari" class="lia-mention lia-mention-user"&gt;ShunOshidari&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;We haven’t heard from you on the last response and was just checking back to see if your issue got resolved. Otherwise, will respond back with the more details and we will try to help. &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 07:01:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3466254#M180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-09T07:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Failures during Fabric Warehouse Table Updates with dbt on Azure Container Instances</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3467723#M181</link>
      <description>&lt;P&gt;Thank you for your response. Unfortunately, the issue is not yet resolved. I did not quite understand how your reply could lead to a resolution. It seems there might be some misunderstanding about our current situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I mentioned in my initial post, we are using the Fabric Warehouse database. It seems unlikely that the server-side firewall is blocking communication. Also, as stated before, it's not that we can't update at all - only about 0 to 4 out of 50 attempts randomly fail. This means that over 90% are processed correctly. If the server is not configured to accept remote connections, we would expect a 0% success rate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given this random behavior, it's challenging to investigate further details, which is why I posted on this forum hoping to gather information from others facing similar issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has experience with these types of issues in Fabric Warehouse and can share the conditions under which they occur, your information would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 00:41:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3467723#M181</guid>
      <dc:creator>ShunOshidari</dc:creator>
      <dc:date>2023-10-10T00:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Failures during Fabric Warehouse Table Updates with dbt on Azure Container Instances</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3470696#M182</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="593729" data-lia-user-login="ShunOshidari" class="lia-mention lia-mention-user"&gt;ShunOshidari&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Apologies that you are still facing this issue.&lt;/P&gt;
&lt;P&gt;Please make sure&amp;nbsp;that all the pre-requisites mentioned in this section has been taken care and also make sure to follow the step by step guide to set up dbt in microsoft fabric as mentioned in this tutorial:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/tutorial-setup-dbt#prerequisites-for-the-dbt-adapter-for-microsoft-fabric" target="_self"&gt;Link1&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;If 'dbt test' step fails, try to jump to next step 'dbt run' before test as discussed in this video:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=7JXwLsgp9L4&amp;amp;t=2807s" target="_self"&gt;Link2&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Additionally, if issue still persists, then try the following workaround:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have several options to mitigate this issue:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Enable connection pooling in Linux has to be enabled both by the application and in the driver manager, and is off by default might and also we are going to improve the connection at client side.&lt;/LI&gt;
&lt;LI&gt;Change to redirect,&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/azure-sql/database/connectivity-architecture?view=azuresql" target="_self"&gt;Link3&lt;/A&gt;&amp;nbsp; improving the connection at server side and remove idle connection threshold.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Implement the retry logic as follow in Python.&lt;BR /&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope this helps. Please let us know if you have any further queries.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 08:45:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3470696#M182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-11T08:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Failures during Fabric Warehouse Table Updates with dbt on Azure Container Instances</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3471106#M183</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your advice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at the "Link3" page about "Change to redirect", but does this also apply to Fabric Warehouse? It looked like a server-side setting, but if it's something that can be set on the user side in Fabric Warehouse, could you please tell me if there are any documents or procedures written about it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 12:09:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3471106#M183</guid>
      <dc:creator>ShunOshidari</dc:creator>
      <dc:date>2023-10-11T12:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Failures during Fabric Warehouse Table Updates with dbt on Azure Container Instances</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3473253#M184</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="593729" data-lia-user-login="ShunOshidari" class="lia-mention lia-mention-user"&gt;ShunOshidari&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Please refer these documents for your help.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://docs.getdbt.com/docs/core/connect-data-platform/fabric-setup" target="_blank"&gt;Microsoft Fabric Synapse Data Warehouse setup | dbt Developer Hub (getdbt.com)&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://docs.getdbt.com/reference/resource-configs/fabric-configs" target="_blank"&gt;Microsoft Fabric DWH configurations | dbt Developer Hub (getdbt.com)&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/connectivity#connect-using-dbt" target="_blank"&gt;Connectivity to data warehousing - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope this helps. Please let me know if you have any further queries. Glad to help.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 10:43:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Intermittent-Failures-during-Fabric-Warehouse-Table-Updates-with/m-p/3473253#M184</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-12T10:43:47Z</dc:date>
    </item>
  </channel>
</rss>

