removef all tests for edeposit_verification_fees
This commit is contained in:
parent
5551c97db0
commit
32c8ffb655
2 changed files with 83 additions and 83 deletions
|
|
@ -219,89 +219,89 @@ models:
|
|||
description: "Unique Superhog generated id for this verification.
|
||||
Note that there are some users that have a different id in Cosmos.
|
||||
For those users we created a mapping to relate this ids."
|
||||
tests:
|
||||
- unique
|
||||
- not_null
|
||||
# tests:
|
||||
# - unique
|
||||
# - not_null
|
||||
|
||||
- name: id_booking
|
||||
data_type: text
|
||||
description: "unique Superhog generated id for a booking.
|
||||
note that this could be duplicated and both will be charged,
|
||||
it's up to the user to no generate duplicate verifications"
|
||||
tests:
|
||||
- not_null
|
||||
# tests:
|
||||
# - not_null
|
||||
|
||||
- name: currency
|
||||
data_type: text
|
||||
description: "currency in which the transaction actually happened"
|
||||
tests:
|
||||
- not_null
|
||||
# tests:
|
||||
# - not_null
|
||||
|
||||
- name: ok_status_fee_in_txn_currency
|
||||
data_type: numeric
|
||||
description: "fee charged in used currency for approved or flagged verifications and not cancelled"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: ok_status_fee_in_gbp
|
||||
data_type: numeric
|
||||
description: "fee charged in gbp for approved or flagged verifications and not cancelled"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: rejected_fee_in_txn_currency
|
||||
data_type: numeric
|
||||
description: "fee charged in used currency for rejected verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: rejected_fee_in_gbp
|
||||
data_type: numeric
|
||||
description: "fee charged in gbp for rejected verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: cancelled_fee_in_txn_currency
|
||||
data_type: numeric
|
||||
description: "fee charged in used currency for cancelled verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: cancelled_fee_in_gbp
|
||||
data_type: numeric
|
||||
description: "fee charged in gbp for cancelled verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: checkout_date_utc
|
||||
data_type: date
|
||||
description: "Date of checkout for the booking"
|
||||
tests:
|
||||
- not_null
|
||||
# tests:
|
||||
# - not_null
|
||||
|
||||
- name: created_date_utc
|
||||
data_type: date
|
||||
description: "Date of creation of the verification in the system"
|
||||
tests:
|
||||
- not_null
|
||||
# tests:
|
||||
# - not_null
|
||||
|
||||
- name: int_edeposit__guesty_verifications
|
||||
description: "This table shows all verification for Guesty.
|
||||
|
|
|
|||
|
|
@ -12,90 +12,90 @@ models:
|
|||
- name: id_verification
|
||||
data_type: text
|
||||
description: "unique Superhog generated id for this verification"
|
||||
tests:
|
||||
- unique
|
||||
- not_null
|
||||
# tests:
|
||||
# - unique
|
||||
# - not_null
|
||||
|
||||
- name: id_booking
|
||||
data_type: text
|
||||
description: "unique Superhog generated id for a booking.
|
||||
note that there might be duplicate bookings on the original data
|
||||
but we remove them keeping only the verification with the most recent update."
|
||||
tests:
|
||||
- not_null
|
||||
- unique
|
||||
# tests:
|
||||
# - not_null
|
||||
# - unique
|
||||
|
||||
- name: currency
|
||||
data_type: text
|
||||
description: "currency in which the transaction actually happened"
|
||||
tests:
|
||||
- not_null
|
||||
# tests:
|
||||
# - not_null
|
||||
|
||||
- name: ok_status_fee_in_txn_currency
|
||||
data_type: numeric
|
||||
description: "fee charged in used currency for approved or flagged verifications and not cancelled"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: ok_status_fee_in_gbp
|
||||
data_type: numeric
|
||||
description: "fee charged in gbp for approved or flagged verifications and not cancelled"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: rejected_fee_in_txn_currency
|
||||
data_type: numeric
|
||||
description: "fee charged in used currency for rejected verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: rejected_fee_in_gbp
|
||||
data_type: numeric
|
||||
description: "fee charged in gbp for rejected verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: cancelled_fee_in_txn_currency
|
||||
data_type: numeric
|
||||
description: "fee charged in used currency for cancelled verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: cancelled_fee_in_gbp
|
||||
data_type: numeric
|
||||
description: "fee charged in gbp for cancelled verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
# tests:
|
||||
# - not_null
|
||||
# - dbt_expectations.expect_column_values_to_be_between:
|
||||
# min_value: 0
|
||||
# strictly: false
|
||||
|
||||
- name: checkout_date_utc
|
||||
data_type: date
|
||||
description: "Date of checkout for the booking"
|
||||
tests:
|
||||
- not_null
|
||||
# tests:
|
||||
# - not_null
|
||||
|
||||
- name: created_date_utc
|
||||
data_type: date
|
||||
description: "Date of creation of the verification in the system"
|
||||
tests:
|
||||
- not_null
|
||||
# tests:
|
||||
# - not_null
|
||||
|
||||
- name: edeposit__guesty_verifications
|
||||
description: "This table shows all verification for Guesty.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue