Addressed comments
This commit is contained in:
parent
89b3989d19
commit
e9cfb6c2bd
3 changed files with 48 additions and 22 deletions
|
|
@ -1,5 +1,8 @@
|
|||
{{ config(materialized="table", unique_key="id_deal") }}
|
||||
with
|
||||
int_core__new_dash_deal_since_date as (
|
||||
select * from {{ ref("int_core__new_dash_deal_since_date") }}
|
||||
),
|
||||
hubspot_deals as (
|
||||
select
|
||||
id_deal,
|
||||
|
|
@ -70,7 +73,9 @@ select
|
|||
cd.main_billing_country_iso_3_per_deal,
|
||||
cd.effective_deal_start_date_utc,
|
||||
cd.effective_deal_start_month,
|
||||
icnddsd.min_user_in_new_dash_since_date_utc,
|
||||
cd.hubspot_deal_cancellation_date_utc,
|
||||
cd.hubspot_deal_cancellation_month,
|
||||
cd.hubspot_listing_segmentation
|
||||
from combined_deals cd
|
||||
left join int_core__new_dash_deal_since_date icnddsd on cd.id_deal = icnddsd.id_deal
|
||||
|
|
|
|||
|
|
@ -496,6 +496,10 @@ models:
|
|||
to the month.
|
||||
data_tests:
|
||||
- not_null
|
||||
- name: min_user_in_new_dash_since_date_utc
|
||||
data_type: date
|
||||
description: |
|
||||
The date when the first user host appeared in New Dash for this deal.
|
||||
- name: hubspot_deal_cancellation_date_utc
|
||||
data_type: date
|
||||
description: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue