From 77830bb29e03122bcf7612ff493ffc1e891e65d5 Mon Sep 17 00:00:00 2001 From: fjcarmona78 Date: Tue, 28 Jul 2026 14:08:46 -0400 Subject: [PATCH] Fix-missing-data --- .../hamburg_weather/pipeline/data/load_tasty_bytes.sql | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/module-1/hamburg_weather/pipeline/data/load_tasty_bytes.sql b/module-1/hamburg_weather/pipeline/data/load_tasty_bytes.sql index 4565f538..e50e89c1 100644 --- a/module-1/hamburg_weather/pipeline/data/load_tasty_bytes.sql +++ b/module-1/hamburg_weather/pipeline/data/load_tasty_bytes.sql @@ -57,14 +57,15 @@ raw zone table build -- country table build -- todo: complete table build -CREATE TABLE {{env}}_tasty_bytes.raw_pos.country +CREATE or ALTER TABLE {{env}}_tasty_bytes.raw_pos.country ( country_id NUMBER(18,0), country VARCHAR(16777216), iso_currency VARCHAR(3), iso_country VARCHAR(2), city VARCHAR(16777216), - city_population VARCHAR(16777216) + city_population VARCHAR(16777216), + city_id NUMBER(19,0) ); @@ -293,7 +294,7 @@ USE WAREHOUSE demo_build_wh; -- country table load --- COPY INTO {{env}}_tasty_bytes.raw_pos.country + COPY INTO {{env}}_tasty_bytes.raw_pos.country -- ( -- country_id, -- country, @@ -303,7 +304,7 @@ USE WAREHOUSE demo_build_wh; -- city, -- city_population -- ) --- FROM @{{env}}_tasty_bytes.public.s3load/raw_pos/country/; + FROM @{{env}}_tasty_bytes.public.s3load/raw_pos/country/; -- franchise table load