Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions google/cloud/bigquery/_pandas_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,10 +796,15 @@ def _download_table_bqstorage_stream(
rowstream = reader.rows(session)

for page in rowstream.pages:
if download_state.done:
return
item = page_to_item(page)
worker_queue.put(item)
while True:
if download_state.done:
return
try:
worker_queue.put(item, timeout=_PROGRESS_INTERVAL)
break
except queue.Full: # pragma: NO COVER
continue


def _nowait(futures):
Expand Down