guesty_verifications model
This commit is contained in:
parent
4322206091
commit
7036b24847
4 changed files with 17 additions and 8 deletions
|
|
@ -6,6 +6,7 @@ with
|
|||
select
|
||||
gv.id_verification as id_verification,
|
||||
gv.id_booking as id_booking,
|
||||
gv.verification_status as verification_status,
|
||||
gv.is_cancelled as is_cancelled,
|
||||
gv.ok_status_fee_in_gbp as ok_status_fee_in_gbp,
|
||||
gv.created_date_utc as created_date_utc,
|
||||
|
|
|
|||
|
|
@ -121,6 +121,10 @@ models:
|
|||
tests:
|
||||
- not_null
|
||||
|
||||
- name: verification_status
|
||||
data_type: text
|
||||
description: "status of the verification"
|
||||
|
||||
- name: is_cancelled
|
||||
data_type: boolean
|
||||
description: "indicates if the booking has been cancelled or not."
|
||||
|
|
@ -136,7 +140,7 @@ models:
|
|||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: true
|
||||
where: is_cancelled = false
|
||||
where: is_cancelled = false and verification_status = 'Approved'
|
||||
|
||||
- name: created_date_utc
|
||||
data_type: date
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue