tarun-google opened a new issue, #36857:
URL: https://github.com/apache/beam/issues/36857

   ### What happened?
   
   We are not passing project to the [bigquery 
client](https://github.com/apache/beam/blob/f41cbde78c15a688f991e1cc983f36e05be143d9/sdks/python/apache_beam/io/gcp/bigquery_tools.py#L364)
 so it falls back to the default inferred from the environment. when the job is 
launched from the other project or project-id is not available in the env we 
get error from the BigQuery library. While the job itself does not fail, as Big 
query try to retrieve this data from metadata server. But it would be good to 
directly pass this information. 
   
   determine logic: 
https://github.com/googleapis/python-cloud-core/blob/main/google/cloud/_helpers/__init__.py#L139
 raised: 
https://github.com/googleapis/python-cloud-core/blob/dc9aa13ed59384914a58f586eafafeb4afac49fa/google/cloud/client/__init__.py#L290
   
   internal-bug: b/460863553
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [x] Component: Python SDK
   - [ ] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [x] Component: IO connector
   - [ ] Component: Beam YAML
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Infrastructure
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to