You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: steps/04_orchestrate_jobs.sql
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,9 @@ create or alter table vacation_spots (
13
13
, avg_cloud_cover_pct float
14
14
, precipitation_probability_pct float
15
15
-- STEP 5: INSERT CHANGES HERE
16
+
, aquarium_cnt int
17
+
, zoo_cnt int
18
+
, korean_restaurant_cnt int
16
19
) data_retention_time_in_days =1;
17
20
18
21
@@ -26,6 +29,7 @@ create or alter task vacation_spots_update
26
29
fromsilver.flights_from_home flight
27
30
joinsilver.weather_joined_with_major_cities city oncity.geo_name=flight.arrival_city
28
31
-- STEP 5: INSERT CHANGES HERE
32
+
joinsilver.attractions att onatt.geo_name=city.geo_name
29
33
) as harmonized_vacation_spots ONvacation_spots.city=harmonized_vacation_spots.arrival_cityandvacation_spots.airport=harmonized_vacation_spots.arrival_airport
30
34
WHEN MATCHED THEN
31
35
UPDATESET
@@ -36,6 +40,9 @@ create or alter task vacation_spots_update
0 commit comments