Updated model

This commit is contained in:
Joaquin Ossa 2025-03-07 10:17:11 +01:00
parent 0536cfb0e2
commit 2461286c9c
5 changed files with 79 additions and 1 deletions

View file

@ -1636,6 +1636,44 @@ models:
Hubspot. It can be null if the deal has never
churned.
- name: days_between_live_and_churn
data_type: integer
description: |
Number of days between the live date and the
churn date.
data_tests:
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0
strictly: false
- name: last_contacted_date_utc
data_type: date
description: |
Date when the deal was last contacted according to
Hubspot.
- name: days_between_last_contacted_and_churn
data_type: integer
description: |
Number of days between the last contacted date
and the churn date.
data_tests:
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0
strictly: false
- name: amount_times_contacted
data_type: integer
description: |
Number of times the deal was contacted according
to Hubspot.
- name: is_churning_from_inactivity
data_type: boolean
description: |
Flag to identify if the deal is churning due to
inactivity because of lack of bookings in the past 12 months.
- name: created_bookings
data_type: integer
description: |