Skip to content

Commit

Permalink
Use Least ignore nulls instead of just least (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunny77D authored Dec 3, 2024
1 parent 51ee398 commit 7aaf050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/staging/raydium/fact_solana_dex_token_prices.sql
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ solana_dex_token_prices as (
select
solana_dex_token_prices.date
, token_address
, least(solana_dex_token_prices.price, token_prices.price) as price
, LEAST_IGNORE_NULLS(solana_dex_token_prices.price, token_prices.price) as price
, number_of_swaps
, unique_traders
from solana_dex_token_prices
Expand Down

0 comments on commit 7aaf050

Please sign in to comment.