Skip to content
CaseOps is onboarding its first litigation chambers directly.Book a demo
Security
CASEOPS
Log inBook a demo
Demo
  1. Hamza Liaqat
  2. /
  3. Case studies
Case study 03 · Production data engineering

Enterprise data orchestration and automated reporting

An automated data and reporting platform, built with Dagster and dbt.

Reporting depended on pulling data from several internal and external systems and stitching it together by hand. Hamza built an orchestrated pipeline, from ingestion through transformation to reports in stakeholders’ inboxes, that runs on a schedule and can be monitored.

Role
Data engineer and Python developer
Engagement
Long-term Upwork client · 2022 – 2025
Stack
Python · Dagster · dbt · PostgreSQL · SQL · Amazon SES · Docker Compose

The problem

Business reporting drew on data spread across several internal and external systems. Each report meant collecting, transforming and combining that data, then turning it into something people could read, and the process leaned on manual coordination.

It needed to be repeatable, observable and far less dependent on someone remembering the next step.

Sources

Internal systems and external services

collected on a schedule

Docker ComposeCooperating containers

  1. Ingest

    Source data

  2. dbt

    Transformation models

  3. PostgreSQL

    Warehouse

  4. Report

    Report generation

Dagster orchestrates every step

  • Webserver
  • Daemon
  • Code and run services

Schedules each run, tracks the dependencies between assets and records every materialisation, so it is visible what ran, when, and from which upstream data.

finished reports
  1. Amazon SES

    Report emails

  2. People

    Stakeholders

Explanatory diagram of the architecture, drawn for this page. Not a screenshot of the client’s Dagster deployment.

What was built

  1. 01

    Orchestration with Dagster

    Ingestion and processing are modelled as Dagster assets. Dagster tracks the dependencies between them, schedules runs and records each materialisation, so it is visible what ran, when, and from which upstream data.

  2. 02

    Transformations in dbt

    Business logic lives in dbt models: version-controlled SQL with explicit dependencies between models, so a change to one transformation flows predictably to everything built on it.

  3. 03

    A PostgreSQL warehouse

    Consolidated and transformed data lands in PostgreSQL, the single source the reports are built from.

  4. 04

    Reports by email

    Finished reports are distributed to stakeholders through Amazon Simple Email Service.

  5. 05

    Containerised with Docker Compose

    The Dagster webserver, daemon, code and run services and PostgreSQL run as cooperating containers under Docker Compose: a straightforward, reproducible deployment.

The outcome

  • Multiple data sources and transformation stages joined into one automated reporting process
  • Less manual coordination between individual processing and reporting steps
  • Dependencies and run history visible in one place, in Dagster

What it shows

Reliable reporting comes from explicit dependencies and a record of every run, not from someone remembering what to do next.

Client reviews · Upwork

Client reviews

Both clients’ reviews, in full. The first describes the warehouse and reporting tools directly.

5.0 out of 5 stars

Data Scientist and Python Developer

Upwork contract · Dec 2022 – Jul 2025

Contract earnings
$110.6K ($110,616.67 earned)
Hours worked
2,212
Engagement
2.6 years

“Throughout his time on the team, he consistently demonstrated strong technical skills, a proactive mindset, and a deep understanding of both data infrastructure and applied machine learning.”

The client also credited Hamza with building and maintaining a multi-source data warehouse and the automated reporting tools the business used to monitor its key metrics.
Read the full review

Under this contract Hamza worked on several PoC projects involving data processing pipelines and machine learning development. Throughout his time on the team, he consistently demonstrated strong technical skills, a proactive mindset, and a deep understanding of both data infrastructure and applied machine learning.

Hamza also made significant contributions to our internal data analysis efforts, helping the team gain insights into project performance and operational efficiency. He developed and maintained a data warehouse from many sources and wrote automated reporting tools that allowed us to monitor key metrics of the business. Hamza’s work in this area has had a lasting impact on how we evaluate success and identify opportunities for improvement and for the future.

5.0 out of 5 stars

Improved Reporting

Upwork contract · Jan 2022 – Dec 2022

Contract earnings
$92.0K ($91,983.33 earned)
Hours worked
1,840
Engagement
11 months

“One of the things that impressed me most about this individual was their ability to take complex concepts and explain them in a clear and concise manner.”

The client also singled out how he took the time to understand their business needs, stayed responsive and proactive, and delivered high-quality results on time.

Endorsed by client

  • Clear Communicator
  • Collaborative
  • Reliable
  • Committed to Quality
Read the full review

I recently had the pleasure of working with a data scientist and Python developer on Upwork for a large contract that spanned several months. From start to finish, this freelancer consistently exceeded my expectations and did an outstanding job.

One of the things that impressed me most about this individual was their ability to take complex concepts and explain them in a clear and concise manner. This made it much easier for me to understand the work that was being done and gave me confidence in the results.

In addition to their technical skills, this freelancer was also a pleasure to work with. They were always responsive, communicative, and proactive in their approach. They took the time to understand my business needs and tailored their work accordingly, always delivering high-quality results on time.

Overall, I am more than pleased with the work that this freelancer did for me and would not hesitate to recommend them to others. If you are in need of a skilled and reliable data scientist and Python developer, I highly recommend giving this individual a chance.

Open-source contributions

  • Pull request · merged April 2022

    dagster-io/dagster #7209

    Fixed the Airbyte integration’s request helper so that valid HTTP 204 No Content responses, such as those from connection deletion, are no longer decoded as JSON.

    View on GitHub
  • Q&A · accepted answer, January 2024

    dagster-io/dagster discussion #19191

    Answered a question on running dbt commands in a fixed order within a Dagster dbt asset definition, with a workaround the asker accepted as the answer.

    View on GitHub

Next case study · Distributed systems and backend engineering

Building an event-driven malware scanning pipeline on AWS.

Read the case study
Back to Hamza Liaqat’s portfolio
CASEOPS

Turn case files into AI workspaces for legal work — source-backed, reviewable, built for chambers.

Product

Platform overviewDraftingCaseOps MobileCase File IntakeDossier working briefLegal workSource verificationHearings & order sheetsChamber workspace

Solutions

Litigation chambersSecurity & trustPricing

Company

AboutTechnology & ResearchFAQBlogContact

Legal

Privacy policyTerms of service

© 2025 CaseOps. All rights reserved.

Built for lawyer review, not blind reliance.

CaseOps is a member of the NVIDIA Inception program. NVIDIA and the NVIDIA logo are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.