Fixed names of tables
This commit is contained in:
parent
f64b17a223
commit
31feff162a
2 changed files with 7 additions and 4 deletions
|
|
@ -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
|
select
|
||||||
id_exchange_rate as id_exchange_rate,
|
id_exchange_rate as id_exchange_rate,
|
||||||
from_currency as from_currency,
|
from_currency as from_currency,
|
||||||
|
|
@ -8,4 +11,4 @@ select
|
||||||
source as source,
|
source as source,
|
||||||
rate_version as rate_version,
|
rate_version as rate_version,
|
||||||
updated_at_utc as updated_at_utc
|
updated_at_utc as updated_at_utc
|
||||||
from daily_currency
|
from int_daily_currency_exchange_rates
|
||||||
|
|
|
||||||
|
|
@ -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
|
select
|
||||||
from_currency as from_currency,
|
from_currency as from_currency,
|
||||||
to_currency as to_currency,
|
to_currency as to_currency,
|
||||||
rate as rate,
|
rate as rate,
|
||||||
rate_date_utc as rate_date_utc,
|
rate_date_utc as rate_date_utc,
|
||||||
updated_at_utc as updated_at_utc
|
updated_at_utc as updated_at_utc
|
||||||
from simple_exchange_rates
|
from int_simple_exchange_rates
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue