Skip to content

Commit b610950

Browse files
committed
feat(ingestion/dbt): Add database_name_pattern and schema_name_pattern to DBTCommonConfig
1 parent 47134c2 commit b610950

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

metadata-ingestion/src/datahub/ingestion/source/dbt/dbt_common.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,14 @@ class DBTCommonConfig(
281281
default=AllowDenyPattern.allow_all(),
282282
description="regex patterns for dbt model names to filter in ingestion.",
283283
)
284+
database_name_pattern: AllowDenyPattern = Field(
285+
default=AllowDenyPattern.allow_all(),
286+
description="regex patterns for dbt database names to filter in ingestion.",
287+
)
288+
schema_name_pattern: AllowDenyPattern = Field(
289+
default=AllowDenyPattern.allow_all(),
290+
description="regex patterns for dbt schema names to filter in ingestion.",
291+
)
284292
meta_mapping: Dict = Field(
285293
default={},
286294
description="mapping rules that will be executed against dbt meta properties. Refer to the section below on dbt meta automated mappings.",

0 commit comments

Comments
 (0)