diff --git a/redash/query_runner/big_query.py b/redash/query_runner/big_query.py index 9acb0c8b43..4e52daedc4 100644 --- a/redash/query_runner/big_query.py +++ b/redash/query_runner/big_query.py @@ -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)