Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

big query schema refresh v10 vs v8 issue #5769

Open
vastavabhi opened this issue Jun 2, 2022 · 0 comments
Open

big query schema refresh v10 vs v8 issue #5769

vastavabhi opened this issue Jun 2, 2022 · 0 comments

Comments

@vastavabhi
Copy link

vastavabhi commented Jun 2, 2022

Issue Summary (Big Query Schema Refresh)

In v8, big query schema refresh is implemented using
rest apis.
(https://github.com/getredash/redash/blob/v8.0.0/redash/query_runner/big_query.py#L262)

In v10, big query schema refresh is implemented using
INFORMATION_SCHEMA query
(https://github.com/getredash/redash/blob/v10.1.0/redash/query_runner/big_query.py#L264)

However, because of this we observe the following issue in v10:
If the google service account has permission to read datasets
from multiple locations in big query source,
then execution of INFORMATION_SCHEMA refresh query fails
due to dataset being present in different location. (error format below)

dataset xyz was not found in location xyz

In our view, big query schema refresh should
not be dependent on the location of datasets.
Is it possible to bring back v8 behaviour in v10
big query schema refresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants