Add default_query_job_config property and property setter to BQ client #1512
Labels
api: bigquery
Issues related to the googleapis/python-bigquery API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
We would like to have one BQ client to start a session and run queries in the session. Following BigQuery documents, we can start a session and get the session id through:
Then, we can set the _default_query_job_config with the session_id. Here, we want to reuse the bqclient object to avoid additional connection time(e.g. authentication etc).
However, it is not in the best practice to call the private properties of BQ client.
Describe the solution you'd like
Can we expose the default_query_job_config property public and its setter in BQ client.
Additional context
Internal bug can be referred here
The text was updated successfully, but these errors were encountered: