modified host/deal logic

This commit is contained in:
Joaquin Ossa 2025-01-20 16:35:43 +01:00
parent 5c71791f10
commit 8898a2d150
4 changed files with 46 additions and 11 deletions

View file

@ -32,8 +32,7 @@ with
from {{ ref("int_core__deal") }}
),
integrations_per_deal as (
select distinct id_deal, has_active_pms, active_pms_list
from {{ ref("int_core__user_host") }}
select id_deal, has_active_pms, active_pms_list from {{ ref("int_core__deal") }}
),
combined_deals as (
select