cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Query has been timed out due to inactivity.

janhouf
New Contributor II

Hi,

We're experiencing an issue with SQL Serverless Warehouse when running queries through the dbx-sql-connector in Python. The error we get is: "Query has been timed out due to inactivity."

This happens intermittently, even for queries that should complete quickly.

Has anyone encountered this before or knows how to prevent these timeouts?

There is attached file with the error.

 

Thanks!

2 REPLIES 2

ozaaditya
Contributor

Possible reasons for this error may include:

  1. The warehouse is busy or waiting for compute resources.
  2. Connection or network issues.

Solutions to try:

  1. Increase the timeout duration and try again.

If the issue persists, please share the error message for further debugging.

AiswaryaS
New Contributor II

Getting the same error while trying to run Tableau flow on Databricks. Is there a solution for this issue?

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now