File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
module-1/hamburg_weather/pipeline/data Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -57,17 +57,17 @@ raw zone table build
5757-- country table build
5858
5959-- todo: complete table build
60- CREATE TABLE {{env}}_tasty_bytes .raw_pos .country
60+ CREATE OR ALTER TABLE {{env}}_tasty_bytes .raw_pos .country
6161(
6262 country_id NUMBER (18 ,0 ),
6363 country VARCHAR (16777216 ),
6464 iso_currency VARCHAR (3 ),
6565 iso_country VARCHAR (2 ),
6666 city VARCHAR (16777216 ),
67- city_population VARCHAR (16777216 )
67+ city_population VARCHAR (16777216 ),
68+ city_id NUMBER (19 ,0 )
6869);
6970
70-
7171-- franchise table build
7272CREATE OR ALTER TABLE {{env}}_tasty_bytes .raw_pos .franchise
7373(
@@ -293,17 +293,17 @@ USE WAREHOUSE demo_build_wh;
293293
294294
295295-- country table load
296- -- COPY INTO {{env}}_tasty_bytes.raw_pos.country
297- -- (
298- -- country_id,
299- -- country,
300- -- iso_currency,
301- -- iso_country,
302- -- city_id,
303- -- city,
304- -- city_population
305- -- )
306- -- FROM @{{env}}_tasty_bytes.public.s3load/raw_pos/country/;
296+ COPY INTO {{env}}_tasty_bytes .raw_pos .country
297+ (
298+ country_id,
299+ country,
300+ iso_currency,
301+ iso_country,
302+ city_id,
303+ city,
304+ city_population
305+ )
306+ FROM @{{env}}_tasty_bytes .public .s3load/ raw_pos/ country/ ;
307307
308308
309309-- franchise table load
You can’t perform that action at this time.
0 commit comments