removed mas value test and month_name
This commit is contained in:
parent
105f2aee45
commit
b58d165eff
2 changed files with 1 additions and 13 deletions
|
|
@ -7,7 +7,6 @@ select
|
||||||
id_user_partner,
|
id_user_partner,
|
||||||
extract('year' from created_date_utc) as year,
|
extract('year' from created_date_utc) as year,
|
||||||
extract('month' from created_date_utc) as month,
|
extract('month' from created_date_utc) as month,
|
||||||
to_char(created_date_utc, 'Month') as month_name,
|
|
||||||
id_currency,
|
id_currency,
|
||||||
currency_code,
|
currency_code,
|
||||||
sum(booking_fee_in_local_currency) as total_fee_in_local_currency,
|
sum(booking_fee_in_local_currency) as total_fee_in_local_currency,
|
||||||
|
|
@ -15,4 +14,4 @@ select
|
||||||
company_name,
|
company_name,
|
||||||
user_email
|
user_email
|
||||||
from int_check_in_hero__checkins
|
from int_check_in_hero__checkins
|
||||||
group by 1, 2, 3, 4, 5, 6, 9, 10
|
group by 1, 2, 3, 4, 5, 8, 9
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,6 @@ models:
|
||||||
data_tests:
|
data_tests:
|
||||||
- dbt_expectations.expect_column_values_to_be_between:
|
- dbt_expectations.expect_column_values_to_be_between:
|
||||||
min_value: 0
|
min_value: 0
|
||||||
max_value: 1000
|
|
||||||
strictly: true
|
strictly: true
|
||||||
|
|
||||||
- name: guest_last_name
|
- name: guest_last_name
|
||||||
|
|
@ -212,14 +211,6 @@ models:
|
||||||
data_tests:
|
data_tests:
|
||||||
- not_null
|
- not_null
|
||||||
|
|
||||||
- name: month_name
|
|
||||||
data_type: text
|
|
||||||
description: |
|
|
||||||
Month name when the charges are created. This is obtained from the
|
|
||||||
creation date of each record.
|
|
||||||
data_tests:
|
|
||||||
- not_null
|
|
||||||
|
|
||||||
- name: id_currency
|
- name: id_currency
|
||||||
data_type: bigint
|
data_type: bigint
|
||||||
description: "Id of the currency, works as a foreign key to the
|
description: "Id of the currency, works as a foreign key to the
|
||||||
|
|
@ -242,7 +233,6 @@ models:
|
||||||
data_tests:
|
data_tests:
|
||||||
- dbt_expectations.expect_column_values_to_be_between:
|
- dbt_expectations.expect_column_values_to_be_between:
|
||||||
min_value: 0
|
min_value: 0
|
||||||
max_value: 1000000
|
|
||||||
strictly: true
|
strictly: true
|
||||||
|
|
||||||
- name: number_of_requests
|
- name: number_of_requests
|
||||||
|
|
@ -251,7 +241,6 @@ models:
|
||||||
data_tests:
|
data_tests:
|
||||||
- dbt_expectations.expect_column_values_to_be_between:
|
- dbt_expectations.expect_column_values_to_be_between:
|
||||||
min_value: 0
|
min_value: 0
|
||||||
max_value: 10000
|
|
||||||
strictly: true
|
strictly: true
|
||||||
|
|
||||||
- name: company_name
|
- name: company_name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue