-
Notifications
You must be signed in to change notification settings - Fork 159
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
[Feature] Keep grants for authorized views in sync when using the grant_access_to
config
#1175
Comments
currently i've done it with a for i in range(1,1000000) not very convenient |
Thanks for reaching out @salimmoulouel salimmoulouel! Can you share more about the scenarios in which this would be necessary? I seem to recall a similar proposal a while back, but I can't find it at the moment. If I recall correctly, we ended up choosing not to pursue it as being out of scope for dbt-core. |
My requirement involves removing outdated grants from a BigQuery authorized view during its recreation. To accomplish this, I utilize a materialization process that iteratively updates a dataset multiple times. To ensure compliance with Google's constraints, particularly the limit on dataset update operations per dataset per 10 seconds, I aim to introduce a delay. This delay helps regulate the frequency of updates and prevents exceeding the specified quota. I am also open to exploring alternative solutions for removing outdated grants from BigQuery authorized views, especially if they can seamlessly manage multiple projects. Any suggestions in this regard would be greatly appreciated. |
Thanks for sharing your particular use-case! Did you already try configuring |
i tried it, to grant access it's easy, but to update them it's a whole other thing. |
To clarify my issue further, I apologize for any lack of clarity. My objective is to provide authorized views with access to a specific dataset. In subsequent versions of the view, I aim to modify the dataset to which access is granted. To achieve this, I utilize the "grant_access_to" function rather than "grant." However, in the current implementation, when updating the list of datasets granted access, the previous access permissions are not revoked. |
Thanks for the clarification @salimmoulouel 👍 We don't plan on adding a I'm going to update the issue title and transfer this to the dbt-bigquery repo for further consideration. |
grant_access_to
config
Is this your first time submitting a feature request?
Describe the feature
From #1175 (comment):
Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response
Original feature description
i want to put a delay waiting in a model, a kind of sleep(60) which make the model wait 60 seconds in that line of code.
The text was updated successfully, but these errors were encountered: