Addressed comments

This commit is contained in:
Joaquin Ossa 2025-01-29 15:44:07 +01:00
parent a48f6d0f59
commit 63b1eac81f
3 changed files with 12 additions and 9 deletions

View file

@ -2,6 +2,7 @@ with
int_monthly_aggregated_metrics_history_by_deal as (
select * from {{ ref("int_monthly_aggregated_metrics_history_by_deal") }}
),
int_kpis__dimension_deals as (select * from {{ ref("int_kpis__dimension_deals") }}),
deal_attributes as (
select
id_deal,
@ -13,7 +14,7 @@ with
coalesce(
hubspot_listing_segmentation, 'UNSET'
) as hubspot_listing_segmentation
from {{ ref("int_kpis__dimension_deals") }}
from int_kpis__dimension_deals
-- Exclude deals without live dates
where effective_deal_start_date_utc is not null
)