add col to ymls

This commit is contained in:
Jack Forgash 2023-07-31 12:26:10 -06:00
parent 59401f8cce
commit a784b417da
31 changed files with 92 additions and 2 deletions

View File

@ -41,3 +41,6 @@ models:
- name: _load_timestamp
description: "{{ doc('_load_timestamp')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -58,3 +58,6 @@ models:
- dbt_expectations.expect_row_values_to_have_recent_data:
datepart: day
interval: 1
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -65,3 +65,6 @@ models:
- dbt_expectations.expect_row_values_to_have_recent_data:
datepart: day
interval: 1
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -49,3 +49,6 @@ models:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- TIMESTAMP_NTZ
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -53,3 +53,6 @@ models:
- name: _PARTITION_BY_BLOCK_NUMBER
description: "{{ doc('_partition_by_block_number')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -70,3 +70,6 @@ models:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- BOOLEAN
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -68,3 +68,6 @@ models:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- TIMESTAMP_NTZ
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -108,3 +108,6 @@ models:
- name: _PARTITION_BY_BLOCK_NUMBER
description: "{{ doc('_partition_by_block_number') }}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -61,3 +61,6 @@ models:
- name: _PARTITION_BY_BLOCK_NUMBER
description: "{{ doc('_partition_by_block_number')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -71,3 +71,6 @@ models:
- name: _partition_by_block_number
description: "{{ doc('_partition_by_block_number') }}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -34,3 +34,6 @@ models:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- TIMESTAMP_NTZ
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -94,3 +94,6 @@ models:
- name: _partition_by_block_number
description: "{{ doc('_partition_by_block_number') }}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -75,3 +75,6 @@ models:
tests:
- unique
- not_null
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -31,3 +31,6 @@ models:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- TIMESTAMP_NTZ
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -68,3 +68,6 @@ models:
- dbt_expectations.expect_row_values_to_have_recent_data:
datepart: day
interval: 5
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -65,3 +65,6 @@ models:
- name: _partition_by_block_number
description: "{{ doc('_partition_by_block_number')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -40,3 +40,6 @@ models:
- name: _load_timestamp
description: "{{ doc('_load_timestamp')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -52,3 +52,6 @@ models:
- dbt_expectations.expect_row_values_to_have_recent_data:
datepart: day
interval: 2
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -55,3 +55,6 @@ models:
- name: _load_timestamp
description: "{{ doc('_load_timestamp')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -49,3 +49,6 @@ models:
- name: _load_timestamp
description: "{{ doc('_load_timestamp')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -62,3 +62,6 @@ models:
- name: _partition_by_block_number
description: "{{ doc('_partition_by_block_number')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -89,3 +89,6 @@ models:
- name: _load_timestamp
description: "{{ doc('_load_timestamp')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -67,3 +67,6 @@ models:
- dbt_expectations.expect_row_values_to_have_recent_data:
datepart: day
interval: 1
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -66,3 +66,5 @@ models:
tests:
- not_null
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -71,3 +71,6 @@ models:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- ARRAY
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -69,3 +69,6 @@ models:
description: "{{ doc('receipt_outcome_id')}}"
tests:
- not_null
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -83,4 +83,7 @@ models:
description: "{{ doc('_load_timestamp')}}"
- name: _PARTITION_BY_BLOCK_NUMBER
description: "{{ doc('_partition_by_block_number')}}"
description: "{{ doc('_partition_by_block_number')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -94,3 +94,6 @@ models:
- name: _PARTITION_BY_BLOCK_NUMBER
description: "{{ doc('_partition_by_block_number')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -63,3 +63,6 @@ models:
- dbt_expectations.expect_row_values_to_have_recent_data:
datepart: day
interval: 1
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -45,4 +45,5 @@ models:
- OBJECT
- VARIANT
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"

View File

@ -76,3 +76,6 @@ models:
tests:
- not_null:
where: _load_timestamp <= current_timestamp - interval '2 hours'
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"