Skip to content

Commit

Permalink
Fix the values for asset type
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 committed Jul 19, 2024
1 parent 1f5a275 commit f80601d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions models/marts/ledger_current_state/trust_lines_current.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ models:
tests:
- not_null:
config:
where: asset_type != asset_type_pool_share
where: asset_type != pool_share
and closed_at > current_timestamp - interval 2 day

- name: asset_issuer
description: '{{ doc("asset_issuer") }}'
tests:
- not_null:
config:
where: asset_type != asset_type_pool_share
where: asset_type != pool_share
and closed_at > current_timestamp - interval 2 day

- name: asset_type
Expand Down Expand Up @@ -119,7 +119,7 @@ models:
config:
where: closed_at > current_timestamp - interval 2 day
- accepted_values:
values: ["asset_type_credit_alphanum4", "asset_type_credit_alphanum12", "asset_type_pool_share"]
values: ["credit_alphanum4", "credit_alphanum12", "pool_share"]
quote: false

- name: closed_at
Expand Down
4 changes: 2 additions & 2 deletions models/sources/src_trust_lines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ sources:
tests:
- not_null:
config:
where: asset_type != asset_type_pool_share
where: asset_type != pool_share
and batch_run_date > current_datetime - interval 2 day

- name: asset_code
description: '{{ doc("asset_code") }}'
tests:
- not_null:
config:
where: asset_type != asset_type_pool_share
where: asset_type != pool_share
and batch_run_date > current_datetime - interval 2 day

- name: liquidity_pool_id
Expand Down

0 comments on commit f80601d

Please sign in to comment.