add pubkey col (#695)

This commit is contained in:
tarikceric 2024-11-05 14:50:21 -08:00 committed by GitHub
parent e4de79882d
commit 51e5ed69eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 3 deletions

View File

@ -9,7 +9,8 @@
SELECT
block_timestamp,
block_id,
vote_pubkey,
vote_pubkey, --todo: remove by 2024-12-03
vote_pubkey as pubkey,
epoch_earned,
reward_amount_sol,
post_balance_sol,
@ -25,7 +26,8 @@ UNION ALL
SELECT
block_timestamp,
block_id,
vote_pubkey,
vote_pubkey, --todo: remove by 2024-12-03
vote_pubkey as pubkey,
epoch_earned,
reward_amount_sol,
post_balance_sol,

View File

@ -20,7 +20,11 @@ models:
tests:
- dbt_expectations.expect_column_to_exist
- name: VOTE_PUBKEY
description: "{{ doc('vote_pubkey') }}"
description: "DEPRECATING SOON: Column will be removed by 2024-12-03. Please use PUBKEY, as this new naming more accurately defines all addresses receiving rewards."
tests:
- dbt_expectations.expect_column_to_exist
- name: PUBKEY
description: "The address receiving the fee rewards"
tests:
- dbt_expectations.expect_column_to_exist
- name: EPOCH_EARNED