Commit wip
This commit is contained in:
parent
2c5301c158
commit
20a8958679
6 changed files with 3 additions and 507 deletions
|
|
@ -1,42 +0,0 @@
|
|||
with
|
||||
int_core__new_dash_services_offered as (
|
||||
select * from {{ ref("int_core__new_dash_services_offered") }}
|
||||
)
|
||||
select
|
||||
service_display_name as service_display_name,
|
||||
number_users as number_users,
|
||||
number_users_with_service_applied_in_accommodation
|
||||
as number_users_with_service_applied_in_accommodation,
|
||||
number_users_without_service_applied_in_accommodation
|
||||
as number_users_without_service_applied_in_accommodation,
|
||||
number_accommodations as number_accommodations,
|
||||
number_active_accommodations as number_active_accommodations,
|
||||
number_inactive_accommodations as number_inactive_accommodations,
|
||||
number_bookings as number_bookings,
|
||||
number_bookings_with_service_status_protected
|
||||
as number_bookings_with_service_status_protected,
|
||||
number_bookings_with_service_status_rejected
|
||||
as number_bookings_with_service_status_rejected,
|
||||
number_bookings_with_service_status_no_checks
|
||||
as number_bookings_with_service_status_no_checks,
|
||||
number_bookings_with_service_status_no_flags
|
||||
as number_bookings_with_service_status_no_flags,
|
||||
number_bookings_with_service_status_paid
|
||||
as number_bookings_with_service_status_paid,
|
||||
number_bookings_with_service_status_pending
|
||||
as number_bookings_with_service_status_pending,
|
||||
number_bookings_with_service_status_unknown
|
||||
as number_bookings_with_service_status_unknown,
|
||||
number_bookings_with_service_status_partially_protected
|
||||
as number_bookings_with_service_status_partially_protected,
|
||||
number_bookings_with_service_status_not_protected
|
||||
as number_bookings_with_service_status_not_protected,
|
||||
number_bookings_with_service_status_not_paid
|
||||
as number_bookings_with_service_status_not_paid,
|
||||
number_bookings_with_service_status_confirmed
|
||||
as number_bookings_with_service_status_confirmed,
|
||||
number_bookings_with_service_status_for_review
|
||||
as number_bookings_with_service_status_for_review,
|
||||
number_bookings_with_service_status_flagged
|
||||
as number_bookings_with_service_status_flagged
|
||||
from int_core__new_dash_services_offered
|
||||
|
|
@ -1568,117 +1568,6 @@ models:
|
|||
data_type: boolean
|
||||
description: "Boolean value indicating if the guest chose CheckIn Cover."
|
||||
|
||||
- name: core__new_dash_services_offered
|
||||
description: "This model contains the the services offered in New Dash.
|
||||
These offers are displayed by different measures, such as the number of users,
|
||||
accommodations and bookings."
|
||||
|
||||
columns:
|
||||
- name: service_display_name
|
||||
data_type: text
|
||||
description: "The name of the New Dash service."
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: number_users
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of user accounts that have a bundle that considers this service.
|
||||
The fact that a user has a bundle with the service included does not mean
|
||||
that the service is active or used. Each user can associate any of their
|
||||
bundles with any of their accommodations."
|
||||
|
||||
- name: number_users_with_service_applied_in_accommodation
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of user accounts that have a bundle that considers this service
|
||||
and that bundle is active in at least one active accommodation.
|
||||
In other words there is at least one active accommodation that offers
|
||||
this service for this number of users."
|
||||
|
||||
- name: number_users_without_service_applied_in_accommodation
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of user accounts that have a bundle that considers this service
|
||||
but none of those bundle with the service is active in any active
|
||||
accommodation.
|
||||
It is basically the difference between number_users and
|
||||
number_users_with_service_applied_in_accommodation."
|
||||
|
||||
- name: number_accommodations
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of accommodations or listings that have a bundle that considers
|
||||
this service."
|
||||
|
||||
- name: number_active_accommodations
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of accommodations or listings that have a bundle that considers
|
||||
this service and are active."
|
||||
|
||||
- name: number_inactive_accommodations
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of accommodations or listings that have a bundle that considers
|
||||
this service and are inactive."
|
||||
|
||||
- name: number_bookings
|
||||
data_type: bigint
|
||||
description: "Number of bookings that have a bundle that considers this service."
|
||||
|
||||
- name: number_bookings_with_service_status_protected
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status PROTECTED for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_rejected
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status REJECTED for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_no_checks
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status NO CHECKS for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_no_flags
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status NO FLAGS for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_paid
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status PAID for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_pending
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status PENDING for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_unknown
|
||||
data_type: bigint
|
||||
description: "Number of bookings with unknown status for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_partially_protected
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status PARTIALLY PROTECTED for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_not_protected
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status NOT PROTECTED for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_not_paid
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status NOT PAID for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_confirmed
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status CONFIRMED for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_for_review
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status FOR REVIEW for this service."
|
||||
|
||||
- name: number_bookings_with_service_status_flagged
|
||||
data_type: bigint
|
||||
description: "Number of bookings with status FLAGGED for this service."
|
||||
|
||||
- name: core__payments
|
||||
description: |
|
||||
A table holding payment details for guest journeys, including amounts in both
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue