Skip to content

Commit

Permalink
filter out null address
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-dude committed Dec 11, 2024
1 parent b93a0bf commit 64024bb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ with prices as (
from
{{ source(blockchain, 'transactions') }}
where
block_date < cast(date_trunc('day', now()) as date) --exclude current day to match prices.usd_daily
input[1][6][1] is not null --first transaction of the block is the mined value and has no address
and block_date < cast(date_trunc('day', now()) as date) --exclude current day to match prices.usd_daily
{% if is_incremental() or true %}
and {{ incremental_predicate('block_date') }}
{% endif %}
Expand Down

0 comments on commit 64024bb

Please sign in to comment.