Merged PR 3857: Propagate Amount of Properties in HS deal

# Description

Adds the field amount_of_properties to hubspot deals, in intermediate

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [NA] I have checked for DRY opportunities with other models and docs.
- [NA] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #25351
This commit is contained in:
Oriol Roqué Paniagua 2024-12-17 09:02:11 +00:00
parent defa36de8a
commit 384665c487
2 changed files with 7 additions and 0 deletions

View file

@ -20,6 +20,7 @@ select
dps.stage_name as deal_hubspot_stage,
d.cancellation_category,
d.cancellation_details,
d.amount_of_properties,
d.created_at_utc,
d.created_date_utc,
d.updated_at_utc,

View file

@ -66,6 +66,12 @@ models:
data_type: text
description: Free text with additional comments on why they cancelled the account
- name: amount_of_properties
data_type: integer
description: |
Amount of properties the owner told us they manage. This is not necessarily the
amount of properties that will be finally booked in our business.
- name: created_at_utc
data_type: timestamp with time zone
description: Timestamp of when the record was created in Hubspot