From the course: End-to-End Real-World Data Engineering Project with Snowflake
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Create the task to merge customer changes in the Silver layer - Snowflake Tutorial
From the course: End-to-End Real-World Data Engineering Project with Snowflake
Create the task to merge customer changes in the Silver layer
- [Presenter] In the silver layer, when we are going to load the data, we have to do some kind of a cleanup and transformation as per the business logic. For the customer, the transformations and the cleanup needed is as follows. First, we have been asked to do the email validation to remove all the email, which have a email ID as null. We also expected to do a customer type standardization. For some rows it might be regular, some rows it could be premium or unknown. Maybe sometimes they use RM or something like that. So let's standardize that as well. Do an age validation. We only need customers between 18 to 120. If age is beyond this, probably that's a wrong value. Similarly to the standardization for the gender type as well. And finally, we need to check the total price. The total price cannot be negative. If it is negative number, set it to be zero. Great. Now to automatically do this kind of a transformations and load the data into the silver table, we're going to create this…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Create the Silver layer schema in the database4m 15s
-
(Locked)
Create the stream in Snowflake to capture Customer table changes1m 38s
-
(Locked)
Create the stream in Snowflake to capture Product table changes52s
-
(Locked)
Create the stream in Snowflake to capture Order table changes1m 44s
-
(Locked)
Create the task to merge customer changes in the Silver layer7m 2s
-
(Locked)
Create the task to merge product changes in the Silver layer4m 15s
-
(Locked)
Create the task to merge order changes in the Silver layer2m 32s
-
(Locked)
-
-