Merged PR 4918: Adds Integration Type from Hubspot Deals
# Description Extracts Integration Type (OSL, PMS, AutoHost, other API stuff) from Hubspot Deals. This is needed for the categorisation of Deals in the scope of Old Dash to New Dash migration. # 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. - [ ] I have checked for DRY opportunities with other models and docs. - [ ] 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: #28987
This commit is contained in:
parent
0cec376e49
commit
0bf8cac41a
4 changed files with 15 additions and 1 deletions
|
|
@ -376,6 +376,12 @@ models:
|
|||
data_type: jsonb
|
||||
description: ""
|
||||
|
||||
- name: integration_type
|
||||
data_type: text
|
||||
description: |
|
||||
The type of integration that the customer has, such as OSL,
|
||||
PMS, etc. It can be null.
|
||||
|
||||
- name: dashboard_type
|
||||
data_type: text
|
||||
description: |
|
||||
|
|
|
|||
|
|
@ -75,7 +75,8 @@ with
|
|||
cast(
|
||||
{{ adapter.quote("properties") }} ->> 'free_trial_end_date' as date
|
||||
) as free_trial_end_date_utc,
|
||||
|
||||
{{ adapter.quote("properties") }}
|
||||
->> 'integration_type' as integration_type,
|
||||
{{ adapter.quote("properties") }} ->> 'dashboard' as dashboard_type,
|
||||
{{ adapter.quote("properties") }}
|
||||
->> 'pricing_structure' as pricing_structure,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue