47 lines
1.9 KiB
MySQL
47 lines
1.9 KiB
MySQL
|
|
with
|
||
|
|
int_edeposit_and_athena_verifications as (
|
||
|
|
select * from {{ ref("int_edeposit_and_athena_verifications") }}
|
||
|
|
)
|
||
|
|
select
|
||
|
|
eav.id_verification as id_verification,
|
||
|
|
eav.id_booking as id_booking,
|
||
|
|
eav.id_user_partner as id_user_partner,
|
||
|
|
eav.id_accommodation as id_accommodation,
|
||
|
|
eav.version as version,
|
||
|
|
eav.verification_source as verification_source,
|
||
|
|
eav.verification_status as verification_status,
|
||
|
|
eav.nightly_fee_local as nightly_fee_local,
|
||
|
|
eav.number_nights as number_nights,
|
||
|
|
eav.email_flag as email_flag,
|
||
|
|
eav.phone_flag as phone_flag,
|
||
|
|
eav.watch_list as watch_list,
|
||
|
|
eav.channel as channel,
|
||
|
|
eav.checkin_at_utc as checkin_at_utc,
|
||
|
|
eav.checkin_date_utc as checkin_date_utc,
|
||
|
|
eav.checkout_at_utc as checkout_at_utc,
|
||
|
|
eav.checkout_date_utc as checkout_date_utc,
|
||
|
|
eav.is_cancelled as is_cancelled,
|
||
|
|
eav.cancelled_at_utc as cancelled_at_utc,
|
||
|
|
eav.cancelled_date_utc as cancelled_date_utc,
|
||
|
|
eav.user_email as user_email,
|
||
|
|
eav.guest_email as guest_email,
|
||
|
|
eav.guest_last_name as guest_last_name,
|
||
|
|
eav.guest_first_name as guest_first_name,
|
||
|
|
eav.guest_telephone as guest_telephone,
|
||
|
|
eav.company_name as company_name,
|
||
|
|
eav.property_manager_name as property_manager_name,
|
||
|
|
eav.property_manager_email as property_manager_email,
|
||
|
|
eav.listing_name as listing_name,
|
||
|
|
eav.listing_town as listing_town,
|
||
|
|
eav.listing_country as listing_country,
|
||
|
|
eav.listing_postcode as listing_postcode,
|
||
|
|
eav.pets_allowed as pets_allowed,
|
||
|
|
eav.status_updated_at_utc as status_updated_at_utc,
|
||
|
|
eav.status_updated_date_utc as status_updated_date_utc,
|
||
|
|
eav.updated_at_utc as updated_at_utc,
|
||
|
|
eav.athena_creation_at_utc as athena_creation_at_utc,
|
||
|
|
eav.athena_creation_date_utc as athena_creation_date_utc,
|
||
|
|
eav.created_at_utc as created_at_utc,
|
||
|
|
eav.created_date_utc as created_date_utc
|
||
|
|
from int_edeposit_and_athena_verifications eav
|