more tests
This commit is contained in:
parent
702848fb9d
commit
d542575588
1 changed files with 10 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ sources:
|
||||||
- not_null
|
- not_null
|
||||||
- dbt_expectations.expect_row_values_to_have_recent_data:
|
- dbt_expectations.expect_row_values_to_have_recent_data:
|
||||||
datepart: day
|
datepart: day
|
||||||
interval: 2 # How does this work? I need to make this more clear
|
interval: 2
|
||||||
- name: _airbyte_meta
|
- name: _airbyte_meta
|
||||||
data_type: jsonb
|
data_type: jsonb
|
||||||
description: "{{ doc('_airbyte_meta_desc') }}"
|
description: "{{ doc('_airbyte_meta_desc') }}"
|
||||||
|
|
@ -347,6 +347,10 @@ sources:
|
||||||
- name: balance_transaction
|
- name: balance_transaction
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: "ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes)."
|
description: "ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes)."
|
||||||
|
tests:
|
||||||
|
- dbt_expectations.expect_column_values_to_match_regex:
|
||||||
|
regex: "^txn_.{24}$"
|
||||||
|
row_condition: "balance_transaction is not null"
|
||||||
- name: statement_descriptor
|
- name: statement_descriptor
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: "For card charges, use statement_descriptor_suffix instead. Otherwise, you can use this value as the complete description of a charge on your customers’ statements. Must contain at least one letter, maximum 22 characters."
|
description: "For card charges, use statement_descriptor_suffix instead. Otherwise, you can use this value as the complete description of a charge on your customers’ statements. Must contain at least one letter, maximum 22 characters."
|
||||||
|
|
@ -374,6 +378,11 @@ sources:
|
||||||
- name: _airbyte_extracted_at
|
- name: _airbyte_extracted_at
|
||||||
data_type: timestamp with time zone
|
data_type: timestamp with time zone
|
||||||
description: "{{ doc('_airbyte_extracted_at_desc') }}"
|
description: "{{ doc('_airbyte_extracted_at_desc') }}"
|
||||||
|
tests:
|
||||||
|
- not_null
|
||||||
|
- dbt_expectations.expect_row_values_to_have_recent_data:
|
||||||
|
datepart: day
|
||||||
|
interval: 2
|
||||||
- name: _airbyte_meta
|
- name: _airbyte_meta
|
||||||
data_type: jsonb
|
data_type: jsonb
|
||||||
description: "{{ doc('_airbyte_meta_desc') }}"
|
description: "{{ doc('_airbyte_meta_desc') }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue