<?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: ODBC Connection Does Not Disconnect in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/odbc-connection-does-not-disconnect/m-p/100449#M1727</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85082"&gt;@bradleyjamrozik&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is that the current designed behavior of Power BI can lead to the connection not being closed under certain conditions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In short, since Databricks is Async, if an error occurs while fetching data, the connection may not be closed gracefully. This causes Databricks Sql Serverless to not terminate after the idle timeout is reached, even without any queries running.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Microsoft has a backlog item to improve their process of closing connections on errors. They said it is a complex change and needs to be prioritized. As of now they have no ETA confirmed by the Product Team.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This was the important part of the response I received from the Microsoft PowerBI Technical Support Team.&lt;/P&gt;&lt;P&gt;Until someone fixes it, Sql Serverless may keep active 24x7, for something that should be kept active when needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2024 17:20:00 GMT</pubDate>
    <dc:creator>gmiguel</dc:creator>
    <dc:date>2024-11-29T17:20:00Z</dc:date>
    <item>
      <title>ODBC Connection Does Not Disconnect</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/odbc-connection-does-not-disconnect/m-p/67835#M1299</link>
      <description>&lt;P&gt;I have an on-premises Power BI Report Server that uses the Simba Spark ODBC Driver (2.8) to connect to Databricks. It can connect to a serverless warehouse successfully and run its queries, but it never seems to disconnect the session, and so the warehouse never registers as "idle" and auto-terminates. Has anyone seen this before? Any suggestions/recommendations? Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 17:25:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/odbc-connection-does-not-disconnect/m-p/67835#M1299</guid>
      <dc:creator>bradleyjamrozik</dc:creator>
      <dc:date>2024-05-01T17:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Does Not Disconnect</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/odbc-connection-does-not-disconnect/m-p/68507#M1313</link>
      <description>&lt;P&gt;Enabling "Driver Config Take Precedence" seems to be doing something. I'm going to monitor and report back.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 20:50:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/odbc-connection-does-not-disconnect/m-p/68507#M1313</guid>
      <dc:creator>bradleyjamrozik</dc:creator>
      <dc:date>2024-05-07T20:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Does Not Disconnect</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/odbc-connection-does-not-disconnect/m-p/68577#M1314</link>
      <description>&lt;P&gt;It's working sometimes. Only correlation I have found so far is that a successful query will disconnect as expected but any error will keep the connection to the warehouse open indefinitely.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 12:58:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/odbc-connection-does-not-disconnect/m-p/68577#M1314</guid>
      <dc:creator>bradleyjamrozik</dc:creator>
      <dc:date>2024-05-08T12:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Does Not Disconnect</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/odbc-connection-does-not-disconnect/m-p/100449#M1727</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85082"&gt;@bradleyjamrozik&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is that the current designed behavior of Power BI can lead to the connection not being closed under certain conditions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In short, since Databricks is Async, if an error occurs while fetching data, the connection may not be closed gracefully. This causes Databricks Sql Serverless to not terminate after the idle timeout is reached, even without any queries running.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Microsoft has a backlog item to improve their process of closing connections on errors. They said it is a complex change and needs to be prioritized. As of now they have no ETA confirmed by the Product Team.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This was the important part of the response I received from the Microsoft PowerBI Technical Support Team.&lt;/P&gt;&lt;P&gt;Until someone fixes it, Sql Serverless may keep active 24x7, for something that should be kept active when needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 17:20:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/odbc-connection-does-not-disconnect/m-p/100449#M1727</guid>
      <dc:creator>gmiguel</dc:creator>
      <dc:date>2024-11-29T17:20:00Z</dc:date>
    </item>
  </channel>
</rss>

