diff --git a/models/staging/raydium/fact_solana_dex_token_prices.sql b/models/staging/raydium/fact_solana_dex_token_prices.sql index 8ff9521b..d91d2aa0 100644 --- a/models/staging/raydium/fact_solana_dex_token_prices.sql +++ b/models/staging/raydium/fact_solana_dex_token_prices.sql @@ -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