Skip to content

Commit

Permalink
fix column
Browse files Browse the repository at this point in the history
  • Loading branch information
viniabussafi committed Jan 9, 2025
1 parent 63f8294 commit 47b9509
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ weighted_pool_factory AS (
t2.normalized_weight AS normalized_weight
FROM {{ source('beethoven_x_v2_sonic', 'WeightedPoolFactory_call_create') }} AS call_create
CROSS JOIN UNNEST(call_create.tokens) WITH ORDINALITY t(token_address, pos)
CROSS JOIN UNNEST(call_create.weights) WITH ORDINALITY t2(normalized_weight, pos)
CROSS JOIN UNNEST(call_create.normalizedWeights) WITH ORDINALITY t2(normalized_weight, pos)
WHERE t.pos = t2.pos
{% if is_incremental() %}
AND call_create.call_block_time >= date_trunc('day', now() - interval '7' day)
Expand Down

0 comments on commit 47b9509

Please sign in to comment.