Skip to content

Role for managing all tables in a schema #104

Answered by littleK0i
jimmyzzxhlh asked this question in Q&A
Discussion options

You must be logged in to vote

Try configuring a business role like this:

my_fancy_loader:
  schema_owner:
    - my_db.my_schema

And while defining a schema, create nested sub-directories for database and for schema. Put file params.yaml in schema directory with the following content:

is_sandbox: true

Full path: /my_db/my_schema/params.yaml.

So.. now your schema is a "sandbox" where tables can be created by external tools.

And your business role is an "owner" of this schema, so it can create / drop / alter objects in it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jimmyzzxhlh
Comment options

Answer selected by jimmyzzxhlh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants