From d4cc109290e5c00a8a02c38e337c5badeab3fbaa Mon Sep 17 00:00:00 2001 From: Mubasher Aslam Date: Wed, 25 Feb 2026 07:17:41 +0400 Subject: [PATCH] Update transformations.sql Replaced the CYBERSYN with SNOWFLAKE_PUBLIC_DATA_FREE --- module-1/transformations.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/module-1/transformations.sql b/module-1/transformations.sql index 7f0a0896..a0df69f3 100644 --- a/module-1/transformations.sql +++ b/module-1/transformations.sql @@ -30,16 +30,16 @@ SELECT ) ) AS cpi FROM - Finance__Economics.CYBERSYN.OECD_TIMESERIES oecd_timeseries + SNOWFLAKE_PUBLIC_DATA_FREE.PUBLIC_DATA_FREE.OECD_TIMESERIES oecd_timeseries JOIN - Finance__Economics.CYBERSYN.OECD_ATTRIBUTES oecd_attributes + SNOWFLAKE_PUBLIC_DATA_FREE.PUBLIC_DATA_FREE.OECD_ATTRIBUTES oecd_attributes ON oecd_timeseries.variable = oecd_attributes.variable LEFT JOIN - Finance__Economics.CYBERSYN.BUREAU_OF_LABOR_STATISTICS_PRICE_TIMESERIES bureau_of_labor_statistics_price_timeseries + SNOWFLAKE_PUBLIC_DATA_FREE.PUBLIC_DATA_FREE.BUREAU_OF_LABOR_STATISTICS_PRICE_TIMESERIES bureau_of_labor_statistics_price_timeseries ON DATE_TRUNC('year', oecd_timeseries.date) = DATE_TRUNC('year', bureau_of_labor_statistics_price_timeseries.date) AND bureau_of_labor_statistics_price_timeseries.geo_id = 'country/USA' LEFT JOIN - Finance__Economics.CYBERSYN.BUREAU_OF_LABOR_STATISTICS_PRICE_ATTRIBUTES bureau_of_labor_statistics_price_attributes + SNOWFLAKE_PUBLIC_DATA_FREE.PUBLIC_DATA_FREE.BUREAU_OF_LABOR_STATISTICS_PRICE_ATTRIBUTES bureau_of_labor_statistics_price_attributes ON bureau_of_labor_statistics_price_timeseries.variable = bureau_of_labor_statistics_price_attributes.variable WHERE (oecd_attributes.variable_name ILIKE '%annual wages%' @@ -63,9 +63,9 @@ SELECT ), 1 ) AS avg_cpi FROM - Finance__Economics.CYBERSYN.BUREAU_OF_LABOR_STATISTICS_PRICE_TIMESERIES bureau_of_labor_statistics_price_timeseries + SNOWFLAKE_PUBLIC_DATA_FREE.PUBLIC_DATA_FREE.BUREAU_OF_LABOR_STATISTICS_PRICE_TIMESERIES bureau_of_labor_statistics_price_timeseries JOIN - Finance__Economics.CYBERSYN.BUREAU_OF_LABOR_STATISTICS_PRICE_ATTRIBUTES bureau_of_labor_statistics_price_attributes + SNOWFLAKE_PUBLIC_DATA_FREE.PUBLIC_DATA_FREE.BUREAU_OF_LABOR_STATISTICS_PRICE_ATTRIBUTES bureau_of_labor_statistics_price_attributes ON bureau_of_labor_statistics_price_timeseries.variable = bureau_of_labor_statistics_price_attributes.variable WHERE bureau_of_labor_statistics_price_attributes.variable_name ILIKE '%CPI%'