GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — feat: updates to allow users to set max_stream_count by chalmerlowe · Pull Request #2039 · googleapis/python-bigquery
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Conversation
|
|
Shouldn't |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
In the question of which argument overrides which, I could probably be convinced to go either way. I purposely chose for
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I am also in favor of having preserve_order override the max_streams_count setting. I think this would make it easier to use and understand. If Perhaps an error for when Edit: Actually I don't think the error is necessary for the same reason as why setting to 1 should always be ok. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
let me cogitate on this. thanks for the input, both of you. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I revised the logic. Once the CI/CD checks pass, can you approve it, Suzy? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Suzy Mueller <[email protected]>
Co-authored-by: Suzy Mueller <[email protected]>
Co-authored-by: Suzy Mueller <[email protected]>
…hon-bigquery into update-maxstreams
…hon-bigquery into update-maxstreams
…hon-bigquery into update-maxstreams
…hon-bigquery into update-maxstreams
Removed unnecessary else statement.
Adds a function `determine_requested_streams()` to compare `preserve_order` and the new argument `max_stream_count` to determine how many streams to request.
```
preserve_order (bool): Whether to preserve the order of streams. If True,
this limits the number of streams to one (more than one cannot guarantee order).
max_stream_count (Union[int, None]]): The maximum number of streams
allowed. Must be a non-negative number or None, where None indicates
the value is unset. If `max_stream_count` is set, it overrides
`preserve_order`.
```
Fixes #2030 🦕
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Makemax_stream_count configurable when using Bigquery Storage API
There was an error while loading. Please reload this page.