Skip to content

Commit

Permalink
Processing Location is not specified
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee2532 authored Feb 12, 2025
1 parent db79281 commit 3969bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/query_runner/big_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def get_schema(self, get_stats=False):
for dataset in datasets:
dataset_id = dataset["datasetReference"]["datasetId"]
location = dataset["location"]
if location != self._get_location():
if self._get_location() and location != self._get_location():
logger.debug("dataset location is different: %s", location)
continue
query = query_base.format(dataset_id=dataset_id)
Expand Down

0 comments on commit 3969bfa

Please sign in to comment.