Skip to content

Commit

Permalink
update col names
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 committed Sep 27, 2024
1 parent 2c43f93 commit 3476196
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion models/staging/stg_accounts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ models:
description: '{{ doc("threshold_high") }}'
tests:
- not_null
- name: last_modifed_ledger
- name: last_modified_ledger
description: '{{ doc("last_modified_ledger") }}'
tests:
- not_null
Expand Down
4 changes: 2 additions & 2 deletions models/staging/stg_history_ledgers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ models:
tests:
- not_null

- name: operation_count
- name: ledger_operation_count
description: '{{ doc("operation_count") }}'
tests:
- not_null
Expand All @@ -43,7 +43,7 @@ models:
tests:
- not_null

- name: id
- name: ledger_id
description: '{{ doc("ledger_id") }}'
tests:
- not_null
Expand Down
6 changes: 3 additions & 3 deletions models/staging/stg_history_operations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ models:
meta:
description: "Monitors the freshness of your table over time, as the expected time between data updates."
columns:
- name: id
- name: op_id
description: '{{ doc("operation_id") }}'
tests:
- unique
- not_null

- name: source_account
- name: op_source_account
description: '{{ doc("source_account") }}'
tests:
- not_null

- name: source_account_muxed
- name: op_source_account_muxed
description: '{{ doc("source_account_muxed") }}'

- name: transaction_id
Expand Down
8 changes: 4 additions & 4 deletions models/staging/stg_history_transactions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ models:
meta:
description: "Monitors the freshness of your table over time, as the expected time between data updates."
columns:
- name: id
- name: transaction_id
description: '{{ doc("transaction_id") }}'
tests:
- unique
Expand All @@ -31,7 +31,7 @@ models:
- name: application_order
description: '{{ doc("application_order") }}'

- name: account
- name: txn_account
description: '{{ doc("account") }}'
tests:
- not_null
Expand All @@ -46,12 +46,12 @@ models:
tests:
- not_null

- name: operation_count
- name: txn_operation_count
description: '{{ doc("transaction_operation_count") }}'
tests:
- not_null

- name: created_at
- name: txn_created_at
description: '{{ doc("created_at") }}'
tests:
- not_null
Expand Down

0 comments on commit 3476196

Please sign in to comment.