Bigquery allows to have 3 different projects involved when querying Bigquery:
The project where the service account is created
The project where the job is created
The project where the data is stored.
The current implementation does not allow this flexibility.
if the project is set the job will be created in the Dataset's project, otherwise the client tries to use bigquery.DetectProjectID that returns the service account's project and searches the dataset in there.
With this PR I added the possibility to set JobProjectID so that users can have the flexibility to set the 3 parameters with different values.
Bigquery allows to have 3 different projects involved when querying Bigquery:
The current implementation does not allow this flexibility. if the project is set the job will be created in the Dataset's project, otherwise the client tries to use
bigquery.DetectProjectID
that returns the service account's project and searches the dataset in there.With this PR I added the possibility to set JobProjectID so that users can have the flexibility to set the 3 parameters with different values.