From 8caa7514a6837e013dbdd45861c8f5b21635997b Mon Sep 17 00:00:00 2001 From: SebMelendez01 <78228475+SebMelendez01@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:22:59 -0500 Subject: [PATCH] Celo: updating traces (#674) --- models/staging/celo/fact_celo_traces.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/staging/celo/fact_celo_traces.sql b/models/staging/celo/fact_celo_traces.sql index 059ee080..02f457bb 100644 --- a/models/staging/celo/fact_celo_traces.sql +++ b/models/staging/celo/fact_celo_traces.sql @@ -50,5 +50,5 @@ select , status , trace_id , id -from raw_receipt_transactions +from raw_traces qualify row_number() over (partition by id order by block_timestamp desc) = 1 \ No newline at end of file