-
Notifications
You must be signed in to change notification settings - Fork 157
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
[CT-162] Upgrade from the __tables__ construct to the information_schema.tables construct #113
Comments
@Fraser-Isbester Always enjoy a good security-conscious patch. Just to make sure I understand, is it correct that the roles in Bigquery have changed and using As for changing the code, I've got one reference:
dbt/include/bigquery/macros/catalog.sql We'd have to look at other references to these fields in the codebase to ensure we've got good coverage. We always like a test on these. You still interested in contributing? |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days. |
PR to fix this issue - #238 |
Current macro workaround for this: https://github.com/GeneralMills/gmi_common_dbt_utils/blob/main/macros/bq_catalog.sql |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days. |
Re-opening since #897 is about the same thing. |
+1 on this. In my organization we have different teams being responsible for different data sources. I have hit the situation where I've been given access to some tables of a dataset instead of the full dataset, because there are other tables on it which I'm not meant to access. When I try to build the docs for my dbt project, I get an error because I don't have |
We have also just run into this issue - our Github Actions service account has the "BigQuery Metadata Viewer" role but |
We also have this issue. We want to have IAM on table level and this makes the |
Describe the feature
The use of the [project_id].[dataset_id].tables has been deprecated in favor of [project_id].[dataset_id].information_schema.tables. This is relevant because it is not possible to access the former with metadata only permissions (it requires getData permissions). This would allow secure doc generation and schema-only tests to be run in a lower privilege environment.
Describe alternatives you've considered
Additional context
None.
Who will this benefit?
Anyone in high-security or high-compliance environments who want to utilize external dbt actors for certain tasks (github actions, for instance.)
Are you interested in contributing this feature?
Sure!
The text was updated successfully, but these errors were encountered: