We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ca7c2b commit 00db613Copy full SHA for 00db613
src/databricks/sql/backend/sea/queue.py
@@ -343,6 +343,7 @@ def __init__(
343
# Track the current chunk we're processing
344
self._current_chunk_index = 0
345
346
+ self.link_fetcher = None # for empty responses, we do not need a link fetcher
347
if total_chunk_count > 0:
348
self.link_fetcher = LinkFetcher(
349
download_manager=self.download_manager,
@@ -352,9 +353,6 @@ def __init__(
352
353
total_chunk_count=total_chunk_count,
354
)
355
self.link_fetcher.start()
- else:
356
- # an empty response
357
- self.link_fetcher = None
358
359
# Initialize table and position
360
self.table = self._create_next_table()
0 commit comments