Uh oh!
There was an error while loading. Please reload this page.
feat: support setting max_stream_count when fetching query result - #2051
Conversation
| created by the server. If ``max_queue_size`` is :data:`None`, the queue | ||
| size is infinite. | ||
| max_stream_count (Optional[int]): |
There was a problem hiding this comment.
I think it would be more consistent if we use the same docstring as here. It also mentions the effect of preserve_order (in this case self._preserve_order), which I think we should make clear here.
There was a problem hiding this comment.
In this case, _preserve_order is automatically set by parsing the queries, and not a user-facing API. I'll update the docstring to mention that effect.
| .. versionadded:: 2.14.0 | ||
| max_stream_count (Optional[int]): |
There was a problem hiding this comment.
Linchin
commented
Nov 11, 2024
Thank you @kien-truong for adding further support for |
kien-truong
commented
Nov 11, 2024
Hi, the default code path with the default arguments is already covered by the current tests. |
Linchin
commented
Nov 11, 2024
@kien-truong sounds good. The mypy test is also failing, could you fix it too? You can run it by running |
31662ad to
0e52722CompareAllow user to set max_stream_count when fetching result using BigQuery Storage API with RowIterator's incremental methods: * to_arrow_iterable * to_dataframe_iterable
0e52722 to
fb726ebComparekien-truong
commented
Nov 16, 2024
I have added tests to cover user-provided |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Linchin
commented
Nov 19, 2024
Thanks @kien-truong, the PR mostly looks good. I just have some small question regarding ignored coverage for the tests. |
Allow user to set max_stream_count when fetching result using BigQuery Storage API with incremental methods:
Fixes#2030 🦕