Fixed names of tables

This commit is contained in:
Joaquin Ossa 2024-06-19 11:59:45 +02:00
parent f64b17a223
commit 31feff162a
2 changed files with 7 additions and 4 deletions

View file

@ -1,4 +1,7 @@
with daily_currency as (select * from {{ ref("int_daily_currency_exchange_rates") }})
with
int_daily_currency_exchange_rates as (
select * from {{ ref("int_daily_currency_exchange_rates") }}
)
select
id_exchange_rate as id_exchange_rate,
from_currency as from_currency,
@ -8,4 +11,4 @@ select
source as source,
rate_version as rate_version,
updated_at_utc as updated_at_utc
from daily_currency
from int_daily_currency_exchange_rates

View file

@ -1,8 +1,8 @@
with simple_exchange_rates as (select * from {{ ref("int_simple_exchange_rates") }})
with int_simple_exchange_rates as (select * from {{ ref("int_simple_exchange_rates") }})
select
from_currency as from_currency,
to_currency as to_currency,
rate as rate,
rate_date_utc as rate_date_utc,
updated_at_utc as updated_at_utc
from simple_exchange_rates
from int_simple_exchange_rates