<?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 timeout for sessions made with sdk in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/timeout-for-sessions-made-with-sdk/m-p/146688#M4793</link>
    <description>&lt;P&gt;How do I determine the rules for when a session will timeout? From testing it seems to be related to inactivity. I am using JavaScript SDK and I want to test my logic for creating a new session when the current one times out based on this issue: &lt;A href="https://github.com/databricks/databricks-sql-nodejs/issues/166" target="_blank"&gt;https://github.com/databricks/databricks-sql-nodejs/issues/166&lt;/A&gt;. Can this setting be changed in databricks?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2026 08:24:24 GMT</pubDate>
    <dc:creator>pppp</dc:creator>
    <dc:date>2026-02-03T08:24:24Z</dc:date>
    <item>
      <title>timeout for sessions made with sdk</title>
      <link>https://community.databricks.com/t5/administration-architecture/timeout-for-sessions-made-with-sdk/m-p/146688#M4793</link>
      <description>&lt;P&gt;How do I determine the rules for when a session will timeout? From testing it seems to be related to inactivity. I am using JavaScript SDK and I want to test my logic for creating a new session when the current one times out based on this issue: &lt;A href="https://github.com/databricks/databricks-sql-nodejs/issues/166" target="_blank"&gt;https://github.com/databricks/databricks-sql-nodejs/issues/166&lt;/A&gt;. Can this setting be changed in databricks?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 08:24:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/timeout-for-sessions-made-with-sdk/m-p/146688#M4793</guid>
      <dc:creator>pppp</dc:creator>
      <dc:date>2026-02-03T08:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: timeout for sessions made with sdk</title>
      <link>https://community.databricks.com/t5/administration-architecture/timeout-for-sessions-made-with-sdk/m-p/146701#M4795</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/214257"&gt;@pppp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good day!!&lt;/P&gt;
&lt;P data-start="988" data-end="1190"&gt;The &lt;STRONG data-start="992" data-end="1025"&gt;JavaScript SDK session object&lt;/STRONG&gt; (what you get from &lt;CODE data-start="1045" data-end="1067"&gt;client.openSession()&lt;/CODE&gt;) can expire if unused or idle for a certain period. This behavior was noted explicitly in the related GitHub discussion:&lt;/P&gt;
&lt;BLOCKQUOTE data-start="1191" data-end="1319"&gt;
&lt;P data-start="1193" data-end="1319"&gt;after some period of inactivity the session will expire and you’ll start getting errors.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P data-start="1321" data-end="1329"&gt;However:&lt;/P&gt;
&lt;UL data-start="1331" data-end="1876"&gt;
&lt;LI data-start="1331" data-end="1463"&gt;
&lt;P data-start="1333" data-end="1463"&gt;Databricks does &lt;STRONG data-start="1349" data-end="1401"&gt;not currently provide a documented configuration&lt;/STRONG&gt; to change the idle timeout for SQL sessions used via the SDK.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1464" data-end="1744"&gt;
&lt;P data-start="1466" data-end="1744"&gt;There’s &lt;STRONG data-start="1474" data-end="1530"&gt;no SQL parameter like &lt;CODE data-start="1498" data-end="1520"&gt;idle_session_timeout&lt;/CODE&gt; exposed&lt;/STRONG&gt; for Databricks SQL sessions (unlike some databases). The only timeout parameter documented is &lt;STRONG data-start="1625" data-end="1646"&gt;STATEMENT_TIMEOUT&lt;/STRONG&gt;, which is about execution duration, not session inactivity.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1745" data-end="1876"&gt;
&lt;P data-start="1747" data-end="1876"&gt;The server will drop sessions after inactivity but &lt;STRONG data-start="1798" data-end="1851"&gt;the exact timeout value isn’t publicly documented&lt;/STRONG&gt; like the SQL timeout is.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Kindly let me know if you have any questions on this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 10:36:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/timeout-for-sessions-made-with-sdk/m-p/146701#M4795</guid>
      <dc:creator>Saritha_S</dc:creator>
      <dc:date>2026-02-03T10:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: timeout for sessions made with sdk</title>
      <link>https://community.databricks.com/t5/administration-architecture/timeout-for-sessions-made-with-sdk/m-p/146821#M4809</link>
      <description>&lt;P&gt;seems to be timing out after 15 min of inactivity&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2026 15:30:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/timeout-for-sessions-made-with-sdk/m-p/146821#M4809</guid>
      <dc:creator>pppp</dc:creator>
      <dc:date>2026-02-04T15:30:46Z</dc:date>
    </item>
  </channel>
</rss>

