From f9993f0e6ca76f4dadcb309a010b254af1ff260b Mon Sep 17 00:00:00 2001 From: alexwes Date: Fri, 6 Dec 2024 14:41:58 -0500 Subject: [PATCH] correct column reference (#662) --- models/projects/trader_joe/core/ez_trader_joe_metrics.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/projects/trader_joe/core/ez_trader_joe_metrics.sql b/models/projects/trader_joe/core/ez_trader_joe_metrics.sql index a23d0743..1733f1f9 100644 --- a/models/projects/trader_joe/core/ez_trader_joe_metrics.sql +++ b/models/projects/trader_joe/core/ez_trader_joe_metrics.sql @@ -16,7 +16,7 @@ SELECT sum(trading_volume) as trading_volume, sum(trading_fees) as trading_fees, sum(unique_traders) as unique_traders, - sum(txns) as number_of_swaps, + sum(number_of_swaps) as number_of_swaps, sum(gas_cost_native) as gas_cost_native FROM {{ ref("ez_trader_joe_metrics_by_chain") }} GROUP BY 1, 2, 3 \ No newline at end of file