How gautam0222/airbnb-aws-snowflake-dbt-pipeline works
This repository’s product is a dbt analytics pipeline that transforms Airbnb operational data already loaded into Snowflake. The principal workflow reads declared staging sources, builds incremental bronze copies, cleans and enriches silver entities, then produces a booking-centric gold OBT and a narrower fact output. The README also documents S3 as an upstream loading boundary, plus snapshots, reusable macros, and ephemeral projections. Model-level source files were not sampled, so lineage and capability links below rely on the README’s documented architecture rather than inspected SQL calls.
Main entry points: obt.sql Booking OBT · sources.yml Staging declarations · bronze_bookings.sql Bronze bookings · bronze_listings.sql Bronze listings
Components 16
Warehouse boundaries
- AWS S3
- Snowflake staging
- Snowflake gold
Medallion transformations
- Bronze bookings
aws_snowflake_dbt_project/models/bronze/bronze_bookings.sql - Bronze listings
aws_snowflake_dbt_project/models/bronze/bronze_listings.sql - Bronze hosts
aws_snowflake_dbt_project/models/bronze/bronze_hosts.sql - Silver bookings
aws_snowflake_dbt_project/models/silver/silver_bookings.sql - Silver listings
aws_snowflake_dbt_project/models/silver/silver_listings.sql - Silver hosts
aws_snowflake_dbt_project/models/silver/silver_hosts.sql
Analytics outputs
- Ephemeral projections
aws_snowflake_dbt_project/models/gold/ephemeral - Booking OBT
aws_snowflake_dbt_project/models/gold/obt.sql - Fact output
aws_snowflake_dbt_project/models/gold/fact.sql
dbt supporting features
- Staging declarations
aws_snowflake_dbt_project/models/sources/sources.yml - Historical snapshots
aws_snowflake_dbt_project/snapshots - Reusable macros
aws_snowflake_dbt_project/macros
Other components
- Airbnb source files
Connections 14
- Airbnb source files → AWS S3: lands in
README.md - AWS S3 → Snowflake staging: loads into
README.md - Snowflake staging → Staging declarations: declared as
README.md - Staging declarations → Bronze bookings: read by
README.md - Staging declarations → Bronze listings: read by
README.md - Staging declarations → Bronze hosts: read by
README.md - Bronze bookings → Silver bookings: feeds
README.md - Bronze listings → Silver listings: feeds
README.md - Bronze hosts → Silver hosts: feeds
README.md - Silver bookings → Booking OBT: integrated into
README.md - Silver listings → Booking OBT: integrated into
README.md - Silver hosts → Booking OBT: integrated into
README.md - Booking OBT → Fact output: projected into
README.md - Booking OBT → Snowflake gold: materialized in
README.md