rm unnecessary regex tests

This commit is contained in:
Jack Forgash 2025-04-28 10:44:58 -06:00
parent 2ab1c95c3d
commit b88f9ef1cd
9 changed files with 1 additions and 44 deletions

View File

@ -39,22 +39,16 @@ models:
description: "{{ doc('from_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: BUYER_ADDRESS
description: "{{ doc('to_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: PLATFORM_ADDRESS
description: "The contract address of the NFT marketplace where the sale occurred"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: PLATFORM_NAME
description: "The name of the NFT marketplace (e.g., Mintbase, Paras, Apollo42, etc.)"
@ -67,8 +61,6 @@ models:
description: "The contract address of the NFT collection"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: TOKEN_ID
description: "{{ doc('token_id')}}"

View File

@ -38,22 +38,16 @@ models:
description: "{{ doc('from_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: BUYER_ADDRESS
description: "{{ doc('to_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: PLATFORM_ADDRESS
description: "The contract address of the NFT marketplace where the sale occurred"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: PLATFORM_NAME
description: "The name of the NFT marketplace (e.g., Mintbase, Paras, Apollo42, etc.)"
@ -66,8 +60,6 @@ models:
description: "The contract address of the NFT collection"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: TOKEN_ID
description: "{{ doc('token_id')}}"

View File

@ -1,6 +1,6 @@
{{ config(
materialized = "incremental",
incremental_predicates = ["COALESCE(DBT_INTERNAL_DEST.block_timestamp::DATE,'2099-12-31') >= (select min(block_timestamp::DATE) from " ~ generate_tmp_view_name(this) ~ ")"],
incremental_predicates = ["dynamic_range_predicate_custom", "block_timestamp::DATE"],
cluster_by = ["block_timestamp::DATE"],
unique_key = "mint_action_id",
incremental_strategy = "merge",

View File

@ -49,8 +49,6 @@ models:
description: The account ID of the lockup contract
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.lockup\.near$
- name: OWNER_ACCOUNT_ID
description: The account ID of the lockup contract owner

View File

@ -36,8 +36,6 @@ models:
description: "{{doc('contract_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: PREDECESSOR_ID
description: "{{doc('predecessor_id')}}"
@ -51,16 +49,11 @@ models:
- name: FROM_ADDRESS
description: "{{doc('from_address')}}"
tests:
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: TO_ADDRESS
description: "{{doc('to_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: AMOUNT_UNADJ
description: "{{doc('amount_unadj')}}"

View File

@ -35,8 +35,6 @@ models:
description: "{{doc('contract_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: PREDECESSOR_ID
description: "{{doc('predecessor_id')}}"
@ -52,8 +50,6 @@ models:
description: "{{doc('from_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: TO_ADDRESS
description: "{{doc('to_address')}}"

View File

@ -35,8 +35,6 @@ models:
description: "{{doc('contract_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: FROM_ADDRESS
description: "{{doc('from_address')}}"
@ -45,8 +43,6 @@ models:
description: "{{doc('to_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: AMOUNT_UNADJ
description: "{{doc('amount_unadj')}}"

View File

@ -36,8 +36,6 @@ models:
description: "{{doc('contract_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: FROM_ADDRESS
description: "{{doc('from_address')}}"
@ -46,8 +44,6 @@ models:
description: "{{doc('to_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: AMOUNT_UNADJ
description: "{{doc('amount_unadj')}}"

View File

@ -36,8 +36,6 @@ models:
description: "{{doc('contract_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: PREDECESSOR_ID
description: "{{doc('predecessor_id')}}"
@ -53,15 +51,11 @@ models:
description: "{{doc('from_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: TO_ADDRESS
description: "{{doc('to_address')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: .*\.near$
- name: AMOUNT_UNADJ
description: "{{doc('amount_unadj')}}"