From d799d514532e7f09caa5f765925a9af816e631c6 Mon Sep 17 00:00:00 2001 From: Troy Date: Fri, 13 Dec 2024 13:15:10 -0700 Subject: [PATCH] fix join --- .../arbitrum/mainnet/core/fct_token_yields_arbitrum_mainnet.sql | 2 +- .../marts/base/mainnet/core/fct_token_yields_base_mainnet.sql | 2 +- .../marts/eth/mainnet/core/fct_token_yields_eth_mainnet.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/transformers/synthetix/models/marts/arbitrum/mainnet/core/fct_token_yields_arbitrum_mainnet.sql b/transformers/synthetix/models/marts/arbitrum/mainnet/core/fct_token_yields_arbitrum_mainnet.sql index ac504de0..d0144c8a 100644 --- a/transformers/synthetix/models/marts/arbitrum/mainnet/core/fct_token_yields_arbitrum_mainnet.sql +++ b/transformers/synthetix/models/marts/arbitrum/mainnet/core/fct_token_yields_arbitrum_mainnet.sql @@ -11,7 +11,7 @@ with dim as ( inner join {{ ref('arbitrum_mainnet_tokens') }} as t - lower(p.collateral_type) = lower(t.token_address) + on lower(p.collateral_type) = lower(t.token_address) where t.yield_token_symbol is not null ), diff --git a/transformers/synthetix/models/marts/base/mainnet/core/fct_token_yields_base_mainnet.sql b/transformers/synthetix/models/marts/base/mainnet/core/fct_token_yields_base_mainnet.sql index 0d8fed36..bb59a533 100644 --- a/transformers/synthetix/models/marts/base/mainnet/core/fct_token_yields_base_mainnet.sql +++ b/transformers/synthetix/models/marts/base/mainnet/core/fct_token_yields_base_mainnet.sql @@ -11,7 +11,7 @@ with dim as ( inner join {{ ref('base_mainnet_tokens') }} as t - lower(p.collateral_type) = lower(t.token_address) + on lower(p.collateral_type) = lower(t.token_address) where t.yield_token_symbol is not null ), diff --git a/transformers/synthetix/models/marts/eth/mainnet/core/fct_token_yields_eth_mainnet.sql b/transformers/synthetix/models/marts/eth/mainnet/core/fct_token_yields_eth_mainnet.sql index 90f9dde0..7fc9ce36 100644 --- a/transformers/synthetix/models/marts/eth/mainnet/core/fct_token_yields_eth_mainnet.sql +++ b/transformers/synthetix/models/marts/eth/mainnet/core/fct_token_yields_eth_mainnet.sql @@ -11,7 +11,7 @@ with dim as ( inner join {{ ref('eth_mainnet_tokens') }} as t - lower(p.collateral_type) = lower(t.token_address) + on lower(p.collateral_type) = lower(t.token_address) where t.yield_token_symbol is not null ),