Back to selected work

Data Engineering / Workflow Orchestration / Data Integration

Apache Airflow ETL Pipeline.

A data engineering project orchestrating toll transaction ETL workflows using Apache Airflow, integrating multi-format extraction, data quality validation, and SQLite-based analytical storage.

Local learning project

01. Overview

Three formats, one analytical table

A data engineering project orchestrating toll transaction ETL workflows using Apache Airflow, integrating multi-format extraction, data quality validation, and SQLite-based analytical storage.

Local learning project

02. The problem

The problem

Vehicle, toll plaza, and payment details are spread across CSV, TSV, and fixed-width files. These records need to match correctly before they can form a reliable table for SQL analysis.

03. The approach

The approach

  1. 01

    Orchestrate nine processing tasks with an Apache Airflow DAG and three parallel extraction branches.

  2. 02

    Check shared transaction details and row counts before combining the three source files by row position.

  3. 03

    Standardize vehicle types and reject duplicate IDs, missing fields, invalid dates, and invalid numeric values.

  4. 04

    Replace records transactionally in SQLite, then analyze them with SQL; test repeat runs and rejection of incorrect data using Bash/Python tests.

  5. 05

    Configure daily scheduling, one retry after five minutes, one active run, and no historical catchup; configure GitHub Actions tests and syntax checks.

04. Technical architecture

Technical architecture

  1. Unpack source archive
  2. CSV / TSV / fixed-width extraction
  3. Validate matching rows
  4. Combine nine fields
  5. Transform vehicle types
  6. Validate final records
  7. Transactional SQLite load
  8. SQL analysis

05. Outcomes & reflection

Results and limitations

The README documents two separate checks: a local Bash/Python run loaded 10,000 course-dataset records, while a live local Airflow run completed all nine tasks with three generated sample transactions. Automated tests cover successful and repeat runs, mismatched rows, and incorrect transformations.

Scope & limitations

A local learning project adapted from an IBM Skills Network lab. The 10,000-record dataset was tested with the local runner, not through Airflow. Daily scheduling reprocesses an existing archive; it does not collect new daily files or implement incremental CDC. Processing uses local files on one machine, not a distributed or production cloud platform. Hosted GitHub Actions execution has not yet been verified in the README.

Keep exploring

SimpleAgent