From d2bce8adf4cf5bb0e40b71fd23e8770d701b6751 Mon Sep 17 00:00:00 2001 From: Suman Maharana Date: Thu, 26 Sep 2024 10:50:24 +0530 Subject: [PATCH] Minor: fix lineage & queries in dbt (#17999) --- .../source/database/dbt/dbt_service.py | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/ingestion/src/metadata/ingestion/source/database/dbt/dbt_service.py b/ingestion/src/metadata/ingestion/source/database/dbt/dbt_service.py index 911fbc75b96..4210cfc3751 100644 --- a/ingestion/src/metadata/ingestion/source/database/dbt/dbt_service.py +++ b/ingestion/src/metadata/ingestion/source/database/dbt/dbt_service.py @@ -189,12 +189,25 @@ class DbtServiceSource(TopologyRunnerMixin, Source, ABC): "description", "columns", "meta", + "owner", + "created_at", + "group", + "sources", + "compiled", + "docs", + "version", + "latest_version", "package_name", + "depends_on", + "compiled_code", + "compiled_sql", + "raw_code", + "raw_sql", } - for node, value in manifest_dict.get( + for node, value in manifest_dict.get( # pylint: disable=unused-variable "nodes" - ).items(): # pylint: disable=unused_variable + ).items(): keys_to_delete = [ key for key in value if key.lower() not in required_nodes_keys ]