From 06b5fe0ed2dd2d29b618827cf60d400462c92119 Mon Sep 17 00:00:00 2001 From: "V. Ganesh" Date: Thu, 1 Dec 2022 12:38:52 +0530 Subject: [PATCH] merge node_id and model_name into one key: model_name (#137) --- dbt/adapters/impala/connections.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dbt/adapters/impala/connections.py b/dbt/adapters/impala/connections.py index a2cc4ad..a91faad 100644 --- a/dbt/adapters/impala/connections.py +++ b/dbt/adapters/impala/connections.py @@ -364,7 +364,10 @@ def add_query( } for key, value in additional_info.items(): - payload[key] = value + if key == "node_id": + payload["model_name"] = value + else: + payload[key] = value tracker.track_usage(payload)