Skip to content

Weather Forecast Pipeline using snowflake and AWS (Lambda / S3 / Cloudwatch)

License

Notifications You must be signed in to change notification settings

AbhishekSingh1180/WeatherForecastPipeline-Snowflake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherForecastPipeline-Snowflake

Weather Forecast Pipeline using snowflake and AWS (Lambda / S3 / Cloudwatch)

Pipeline Flow

WF_PIPE

  1. Lambda Function triggered by event Bridge fetching Data from WeatherAPI

lambda

  1. Json Data loads to S3 incrementally everyday

s3

  1. Event notification informs Snowpipe via an SQS queue when files are ready to load.

event notification snowflake

  1. Snowpipe Auto ingest the data into varaint table using copy into from external stage.

Stage :

stage

Variant table:

variant table

  1. Next varaint stream will capture the new inserted data into varaint table and trigger the task that runs the store procedure to load data to Flat table. This layer is where all data is integrated and stored in flatten format

Flat

  1. Again Flat stream will capture the new inserted data into flat table and trigger the task that runs the store procedure to load data to Target table along with proper data types and business validation and checks.

CONF

Note : Target table has SCD type 2 where only latest forecast data will be active.

CONF SCD2

About

Weather Forecast Pipeline using snowflake and AWS (Lambda / S3 / Cloudwatch)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published