ying-w commented on code in PR #30655:
URL: https://github.com/apache/airflow/pull/30655#discussion_r1174444701


##########
airflow/providers/google/cloud/hooks/bigquery.py:
##########
@@ -2202,7 +2231,7 @@ def run_query(
         if encryption_configuration:
             configuration["query"]["destinationEncryptionConfiguration"] = 
encryption_configuration
 
-        job = self.insert_job(configuration=configuration, 
project_id=self.project_id)
+        job = self.insert_job(configuration=configuration, 
project_id=self.project_id, location=location)

Review Comment:
   `insert_job()` will default to `self.location`
   
   
https://github.com/apache/airflow/blob/29fb38cfe3b0f1e54b48e7cc5786ab1c15ab8425/airflow/providers/google/cloud/hooks/bigquery.py#L1537
   
   however, this change will break many tests



-- 
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