cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

finishes execution in 6 seconds but the notebook still shows "waiting"

root92
New Contributor

Issue:
Although my SQL query completes execution in approximately 2-3 seconds, the notebook interface continues to show "waiting" for an extended period before displaying results. Only way to see the results of my cell execution is by refreshing the whole browser. This delay is affecting productivity and makes it difficult to determine whether the query has truly completed or is still processing.

I am using free edition but before someone says hey its a free account, I would like to mention this is not the case for another friend who is using the free edition. 

Even for simplest of code it goes into waiting so its not about bad query ect

1 REPLY 1

lingareddy_Alva
Honored Contributor III

Hi @root92 

This is a known Databricks interface issue, not related to query performance or account type.

Most Likely Causes:
WebSocket connection timeout between browser and Databricks
Browser memory issues with long-running notebook sessions
Network proxy/firewall interfering with result streaming
Databricks workspace session getting corrupted

Quick Test:
Try this simple cell to confirm it's an interface issue:
print("Test 1")
df = spark.range(5)
print("Test 2")
df.show()
print("Test 3 - If you see this immediately, it's definitely a UI issue")

Since your friend doesn't have this issue, it's likely browser/network specific to your setup rather than a Databricks platform problem.RetryClaude can make mistakes.
Please double-check responses.

 

LR