Skip to content

Commit

Permalink
added node_type_pattern in dbt yaml file (#2705)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayan-nallasami-curve authored Jun 17, 2021
1 parent 943c54a commit 26329e0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions metadata-ingestion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,8 @@ Pull metadata from dbt artifacts files:
- [data platforms](https://github.com/linkedin/datahub/blob/master/gms/impl/src/main/resources/DataPlatformInfo.json)
- load_schemas:
- Load schemas from dbt catalog file, not necessary when the underlying data platform already has this data.
- node_type_pattern:
- Use this filter to exclude and include node types using allow or deny method

```yml
source:
Expand All @@ -692,6 +694,11 @@ source:
catalog_path: "./path/dbt/catalog_file.json"
target_platform: "postgres" # optional, eg "postgres", "snowflake", etc.
load_schemas: True or False
node_type_pattern: # optional
deny:
- ^test.*
allow:
- ^.*
```

Note: when `load_schemas` is False, models that use [identifiers](https://docs.getdbt.com/reference/resource-properties/identifier) to reference their source tables are ingested using the model identifier as the model name to preserve the lineage.
Expand Down

0 comments on commit 26329e0

Please sign in to comment.