Case study · Jan 2026
Airflow ETL: S3 → Snowflake
Fully orchestrated cloud data pipeline with schema detection, automated loading, and alerting
Problem
Loading files from S3 to Snowflake by hand is error-prone and collapses under volume. The business needed a system that detects new data automatically, handles schema changes without engineer intervention, and alerts the team so no one babysits a data job overnight.
Approach
Built an Apache Airflow DAG that monitors an S3 bucket for incoming CSV files, automatically detects and creates the Snowflake table schema, loads data using COPY INTO, and dispatches SMTP email alerts on completion or failure — no manual steps at any stage.
Airflow runs as the scheduler and orchestration layer. S3 Sensors listen for new file arrivals and trigger the DAG. Snowflake receives the cleaned load via COPY INTO. SMTP delivers success and failure notifications to the team. All components are cloud-native with no on-prem dependency.
Result
Files land in S3, the warehouse table is updated, and the team is notified — zero human in the loop, zero manual SQL.
Architecture
- S3 Bucket
- Airflow S3 Sensor
- DAG Trigger
- Schema Auto-Detection
- COPY INTO Snowflake
- SMTP Alert
Stack
- Apache Airflow
- AWS S3
- Snowflake
- Python
- SMTP
- ETL