-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bigquery: set PreferredMinStreamCount
while creating CreateReadSessionRequest
#8432
Comments
@k-anshul I think the configuration that you want to tweak here is the In the light of that, can you give more details on your use case ? I'm assuming that you're using the Storage API through the |
@alvarowolfx Thanks for your reply.
|
Is your feature request related to a problem? Please describe.
While creating
CreateReadSessionRequest
we are settingMaxStreamCount
as 0 which as I understand will leave the decision on server to choose the correct stream count.On my testing on various public and private data sources I always found the number of stream to be 1.
I would like to set
PreferredMinStreamCount
asreadClientSettings.maxWorkerCount
as hint to the server for desired minimum streams.Describe the solution you'd like
I would like to set
PreferredMinStreamCount
asreadClientSettings.maxWorkerCount
as hint to the server for desired minimum streams.Describe alternatives you've considered
Since there is no option in sdk that allow user to configure this there are no other alternatives.
Additional context
https://cloud.google.com/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1#createreadsessionrequest
The text was updated successfully, but these errors were encountered: