mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-23 09:32:04 +00:00
25 lines
1015 B
Markdown
25 lines
1015 B
Markdown
![]() |
### Lineage File Format
|
||
|
|
||
|
The lineage source file should be a `.yml` file with the following top-level keys:
|
||
|
|
||
|
**version**: the version of lineage file config the config conforms to. Currently, the only version released
|
||
|
is `1`.
|
||
|
|
||
|
**lineage**: the top level key of the lineage file containing a list of **EntityNodeConfig** objects
|
||
|
|
||
|
**EntityNodeConfig**:
|
||
|
|
||
|
- **entity**: **EntityConfig** object
|
||
|
- **upstream**: (optional) list of child **EntityNodeConfig** objects
|
||
|
|
||
|
**EntityConfig**:
|
||
|
|
||
|
- **name** : name of the entity
|
||
|
- **type**: type of the entity (only `dataset` is supported as of now)
|
||
|
- **env**: the environment of this entity. Should match the values in the
|
||
|
table [here](https://datahubproject.io/docs/graphql/enums/#fabrictype)
|
||
|
- **platform**: a valid platform like kafka, snowflake, etc..
|
||
|
- **platform_instance**: optional string specifying the platform instance of this entity
|
||
|
|
||
|
You can also view an example lineage file checked in [here](../../../../metadata-ingestion/examples/bootstrap_data/file_lineage.yml)
|