Prabakar
Databricks Employee
Databricks Employee

@Valerio Goretti​ we need to look at the thread dumps to understand this issue. if the repl thread running the command is blocked by the partial result fetcher thread and If this is consistent with several threads dump snapshots, it suggests that the command is streaming a lot of stuff to the result buffer, so that the partial result fetcher can take more time than normal to send them to the tree store and frontend.

View solution in original post