We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ae1f70 commit 4e200b4Copy full SHA for 4e200b4
redash/query_runner/big_query.py
@@ -313,6 +313,10 @@ def get_schema(self, get_stats=False):
313
queries = []
314
for dataset in datasets:
315
dataset_id = dataset["datasetReference"]["datasetId"]
316
+ location = dataset["location"]
317
+ if self._get_location() and location != self._get_location():
318
+ logger.debug("dataset location is different: %s", location)
319
+ continue
320
query = query_base.format(dataset_id=dataset_id)
321
queries.append(query)
322
0 commit comments