Added billing_country
This commit is contained in:
parent
2251a45540
commit
7717ce3c53
5 changed files with 49 additions and 7 deletions
|
|
@ -9,6 +9,7 @@ select
|
|||
py_date_day as py_date_day,
|
||||
has_payment as has_payment,
|
||||
has_id_check as has_id_check,
|
||||
main_billing_country_iso_3_per_deal as main_billing_country_iso_3_per_deal,
|
||||
created_guest_journeys_not_cancelled as created_guest_journeys_not_cancelled,
|
||||
started_guest_journeys_not_cancelled as started_guest_journeys_not_cancelled,
|
||||
completed_guest_journeys_not_cancelled as completed_guest_journeys_not_cancelled,
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@ models:
|
|||
- date_day,
|
||||
- py_date_day,
|
||||
- id_deal,
|
||||
- has_id_check.
|
||||
- has_id_check,
|
||||
- main_billing_country_iso_3_per_deal.
|
||||
|
||||
tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
|
|
@ -21,6 +22,7 @@ models:
|
|||
- py_date_day
|
||||
- has_payment
|
||||
- has_id_check
|
||||
- main_billing_country_iso_3_per_deal
|
||||
columns:
|
||||
- name: date_day
|
||||
data_type: date
|
||||
|
|
@ -61,6 +63,13 @@ models:
|
|||
- W/O Id Check
|
||||
- With Id Check
|
||||
|
||||
- name: main_billing_country_iso_3_per_deal
|
||||
data_type: string
|
||||
description: |
|
||||
Main billing country of the host.
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: created_guest_journeys_not_cancelled
|
||||
data_type: bigint
|
||||
description: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue