-
Notifications
You must be signed in to change notification settings - Fork 127
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
[FEAT] support users that do not have schema creation permission #222
Comments
In the most ideal situation the schema that is being used is prefixed with the same prefix as the other personal schema's. All my users can create personalised schemas like: dbt_thomas_raw and the create if exists works as a charm if they would do that. They just don't have permission to do this on the production schema's. |
I agree that it would be useful to add this functionality to be able opt out of the schema creation step. We don't necessarily want every data scientist who has the ability create tables to be able to create a bunch of datasets as well. |
FWIW I am on BigQuery and I didn't have this problem on would love to get #220 merged! |
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. |
Perhaps worth adding to: Describe alternatives you've considered
vars:
dbt_external_tables__config:
on_the_fly_schema_creation: False |
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. |
Describe the feature
related: #214 #221
below is an interaction summary of:
It the the third scenario that folks would like to have enabled (see #214 #221). Restated:
Possible solutions to replace current behavior. The package should either:
Describe alternatives you've considered
Additional context
The canonical user of dbt works inside of a database in which she has permissions to
CREATE
andDROP
schema. However, there exist workarounds for situations when an analytics engineer does not have these permissions. Unfortunately, these workarounds do not apply to this package, as aCREATE SCHEMA {SCHEMA} IF EXISTS
is issued each time thestage_external_sources
macro is invoked.I also don't like that there is no useful
default__
implementation for thecreate_external_schema
andget_external_build_plan
macros. Ideally I'd like to see this solved in one place. Especially if we have a long-term aspiration to move this package's functionality into dbt-coreWho will this benefit?
What kind of use case will this feature be useful for? Please be specific and provide examples, this will help us prioritize properly.
The text was updated successfully, but these errors were encountered: