Doc: Adding Multiple Owner Addition Section in dbt Models (#21609)

Co-authored-by: Rounak Dhillon <rounakdhillon@Rounaks-MacBook-Air.local>
This commit is contained in:
Rounak Dhillon 2025-06-05 18:54:11 +05:30 committed by GitHub
parent fabf352522
commit 4ea95d09e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 56 additions and 2 deletions

View File

@ -48,7 +48,34 @@ Openmetadata fetches the owner information from the `catalog.json` file. Below i
### 3. Adding the User or Team to OpenMetadata
The user or team which will be set as the entity owner should be first created in OpenMetadata.
While linking the owner from `manifest.json` or `catalog.json` files to the entity, OpenMetadata first searches for the user if it is present. If the user is not present it searches for the team
While linking the owner from `manifest.json` or `catalog.json` files to the entity, OpenMetadata first searches for the user if it is present. If the user is not present it searches for the team.
### 4. Adding Multiple Owners to dbt Models
OpenMetadata allows you to define multiple owners (users or teams) for dbt models through the `owner` field under `meta.openmetadata` in your `schema.yml` configuration. This helps reflect shared ownership and collaborative accountability on data assets.
#### Example Configuration
```yaml
models:
- name: customers
meta:
openmetadata:
glossary: [
'Test_Glossary.term_one',
'Test_Glossary.term_two.nested_term.more_nested_term',
]
tier: 'Tier.Tier2'
owner: ['John Doe', 'jane@gmail.com']
config:
tags: ["model_tag_one", "model_tag_two"]
```
#### Guidelines
- **Owner Field**: Provide a list of users or team identifiers under owner.
- **User Validation**: Ensure the specified owners (e.g., John Doe, jane@gmail.com) exist in OpenMetadata as valid user or team entities.
- **Overwrite Behavior**: Use the dbtUpdateOwners parameter in your ingestion configuration to control whether this list overwrites existing owners or only applies to unowned assets.
#### Following steps shows adding a User to OpenMetadata:
**1.** Click on the `Users` section from homepage

View File

@ -48,7 +48,34 @@ Openmetadata fetches the owner information from the `catalog.json` file. Below i
### 3. Adding the User or Team to OpenMetadata
The user or team which will be set as the entity owner should be first created in OpenMetadata.
While linking the owner from `manifest.json` or `catalog.json` files to the entity, OpenMetadata first searches for the user if it is present. If the user is not present it searches for the team
While linking the owner from `manifest.json` or `catalog.json` files to the entity, OpenMetadata first searches for the user if it is present. If the user is not present it searches for the team.
### 4. Adding Multiple Owners to dbt Models
OpenMetadata allows you to define multiple owners (users or teams) for dbt models through the `owner` field under `meta.openmetadata` in your `schema.yml` configuration. This helps reflect shared ownership and collaborative accountability on data assets.
#### Example Configuration
```yaml
models:
- name: customers
meta:
openmetadata:
glossary: [
'Test_Glossary.term_one',
'Test_Glossary.term_two.nested_term.more_nested_term',
]
tier: 'Tier.Tier2'
owner: ['John Doe', 'jane@gmail.com']
config:
tags: ["model_tag_one", "model_tag_two"]
```
#### Guidelines
- **Owner Field**: Provide a list of users or team identifiers under owner.
- **User Validation**: Ensure the specified owners (e.g., John Doe, jane@gmail.com) exist in OpenMetadata as valid user or team entities.
- **Overwrite Behavior**: Use the dbtUpdateOwners parameter in your ingestion configuration to control whether this list overwrites existing owners or only applies to unowned assets.
#### Following steps shows adding a User to OpenMetadata:
**1.** Click on the `Users` section from homepage