mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-04 15:45:42 +00:00
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:
parent
fabf352522
commit
4ea95d09e5
@ -48,7 +48,34 @@ Openmetadata fetches the owner information from the `catalog.json` file. Below i
|
|||||||
### 3. Adding the User or Team to OpenMetadata
|
### 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.
|
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:
|
#### Following steps shows adding a User to OpenMetadata:
|
||||||
**1.** Click on the `Users` section from homepage
|
**1.** Click on the `Users` section from homepage
|
||||||
|
@ -48,7 +48,34 @@ Openmetadata fetches the owner information from the `catalog.json` file. Below i
|
|||||||
### 3. Adding the User or Team to OpenMetadata
|
### 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.
|
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:
|
#### Following steps shows adding a User to OpenMetadata:
|
||||||
**1.** Click on the `Users` section from homepage
|
**1.** Click on the `Users` section from homepage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user