Updating with Ray's comments
This commit is contained in:
parent
7a77691b89
commit
46d5e7c3c5
2 changed files with 39 additions and 15 deletions
|
|
@ -14,7 +14,6 @@ select
|
|||
when version = 'V1' then 'Guesty' when version = 'V2' then 'Edeposit' else null
|
||||
end as verification_source,
|
||||
verification_status,
|
||||
verification_status_reason,
|
||||
nightly_fee_local,
|
||||
cast(checkout_at_utc as date) - cast(checkin_at_utc as date) as number_nights,
|
||||
email_flag,
|
||||
|
|
@ -27,6 +26,7 @@ select
|
|||
cast(checkout_at_utc as date) as checkout_date_utc,
|
||||
is_cancelled,
|
||||
cancelled_at_utc,
|
||||
cast(cancelled_at_utc as date) as cancelled_date_utc,
|
||||
user_email,
|
||||
guest_email,
|
||||
guest_last_name,
|
||||
|
|
@ -43,7 +43,11 @@ select
|
|||
level_of_protection_amount,
|
||||
level_of_protection_currency,
|
||||
status_updated_at_utc,
|
||||
cast(status_updated_date_utc as date) as status_updated_date_utc,
|
||||
updated_at_utc,
|
||||
cast(updated_at_utc as date) as updated_date_utc,
|
||||
creation_at_utc,
|
||||
created_at_utc
|
||||
cast(creation_at_utc as date) as creation_date_utc,
|
||||
created_at_utc,
|
||||
cast(created_at_utc as date) as created_date_utc
|
||||
from stg_edeposit__verifications
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue