You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
Users are running into production failures with incremental models. It looks like this is failing due to Redshift listing consumer cluster users for data shares in system tables/views. dbt is using those tables/views to generate revoke statements and they fail on those remote users.
Expected Behavior
Grants should be properly handled during incremental runs.
github-actionsbot
changed the title
[Bug] Grants are failing during incremental runs when data shares are present on serverless
[ADAP-1086] [Bug] Grants are failing during incremental runs when data shares are present on serverless
Jan 3, 2024
We are experiencing this issue as well. We have a provisioned Redshift cluster with a datashare to a Serverless Redshift cluster. We are receiving the error:
2024-01-09 19:28:10.273561 (Thread-2): 19:28:10 Redshift adapter: Redshift error: Granting permissions to reserved user ds:reporting_acc_111305045888 is not supported.
We have confirmed with AWS that this user is related to consumer Serverless account that is created in the Provisioned cluster. This is a "reserved" user per the error message and grants and revokes on the user will fail with the above error message.
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 comment on the issue or else it will be closed in 7 days.
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers.
Is this a new bug in dbt-redshift?
Current Behavior
Users are running into production failures with incremental models. It looks like this is failing due to Redshift listing consumer cluster users for data shares in system tables/views. dbt is using those tables/views to generate revoke statements and they fail on those remote users.
Expected Behavior
Grants should be properly handled during incremental runs.
Steps To Reproduce
project.yml
Relevant log output
The issue is errors being returned:
Example failed run: https://emea.dbt.com/deploy/161/projects/1466/runs/2879012
Environment
Additional Context
ZenDesk: https://dbtcloud.zendesk.com/agent/tickets/59389
Potentially related: #626
The text was updated successfully, but these errors were encountered: