diff --git a/models/sudoswap/ethereum/sudoswap_ethereum_events.sql b/models/sudoswap/ethereum/sudoswap_ethereum_events.sql index 7b5ea20d8ab..6b96edc1d5d 100644 --- a/models/sudoswap/ethereum/sudoswap_ethereum_events.sql +++ b/models/sudoswap/ethereum/sudoswap_ethereum_events.sql @@ -332,7 +332,7 @@ WITH , evt_type , seller , buyer - , amount_raw/number_of_items as amount_raw + , cast(amount_raw/number_of_items as double) as amount_raw , amount_original/number_of_items as amount_original , amount_usd/number_of_items as amount_usd , currency_symbol