bigquery: set PreferredMinStreamCount
while creating CreateReadSessionRequest
#8432
Labels
api: bigquery
Issues related to the BigQuery API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
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: