Francisco MinguezData & AI

Evidence Object

Professional data engineering delivery

Case study

Analytical pipeline modernisation

I migrated a recurring analytical process from a legacy SQL Server implementation to a modular Databricks and PySpark workflow, with data-quality checks, validation and reconciliation built into the delivery.

Direct entry: this page stands alone. It does not imply a Decision Room journey from Home.

Form, Provenance and Status are separate dimensions, not one badge.

Form
Professional Work
Provenance
ProfessionalMixed
Status
Published
What it is
Professional data-engineering delivery migrating a recurring analytical process from legacy SQL Server logic to Databricks and PySpark.
Question / context
How do you modernise a brittle analytical calculation without losing traceability of business rules?
What was done
Mapped legacy logic, rebuilt on Databricks/PySpark, added quality and validation controls, reconciled outputs, and prepared handover.
What was learned
Explicit reconciliation and modular components make migration discussable; private client artefacts stay out of the public record.
What it supports here
Professional delivery experience in data-pipeline modernisation and validation discipline.
What it does not prove
Quantified ROI, client KPIs, a reproducible private environment, or production guarantees.

Client-specific data, code and architecture are not included.

The working context

I worked in a financial-data environment on a recurring analytical calculation that depended on a legacy SQL Server process. My role covered understanding the existing logic, migrating the workflow to Databricks and PySpark, adding quality and validation controls, and preparing the handover.

Why legacy analytical processes become hard to change

Legacy analytical processes often grow as a mix of SQL, stored procedures and implicit business rules. When the logic is hard to isolate, small changes become risky, validation is slow and teams hesitate to modify or scale the process. That is the kind of situation I worked in: a recurring calculation that was difficult to maintain, adapt and operate with confidence.

What I was responsible for

  • Map the legacy calculation logic, dependencies and expected outputs.
  • Rebuild the workflow on Databricks with PySpark.
  • Introduce reusable, parameterised transformation components.
  • Add automated data-quality controls and statistical validation.
  • Reconcile migrated outputs against the legacy process.
  • Prepare technical documentation and handover material for the teams who would operate the process.

Delivery constraints

  • Business rules had to remain traceable while the implementation changed.
  • Differences between legacy and migrated outputs needed explicit reconciliation.

How I approached the work

  1. 01

    Study the existing logic

    I started by documenting calculation rules, dependencies, expected outputs and acceptance criteria. Before rewriting anything, I needed a clear picture of what the legacy process was supposed to produce.

  2. 02

    Migrate onto Databricks and PySpark

    I reimplemented the workflow as PySpark transformations running on Databricks, so the process could be developed, tested and operated as a modular data pipeline rather than a brittle legacy calculation.

  3. 03

    Make the workflow modular and parameterised

    I broke the logic into reusable components with explicit parameters. That made the process easier to understand, adjust and reuse without rewriting the whole calculation each time a requirement changed.

  4. 04

    Add quality, validation and reconciliation

    I introduced automated data-quality checks, statistical validation and output reconciliation against the legacy workflow. The goal was to make differences visible and discussable, not to hide them.

  5. 05

    Document and hand over

    I prepared documentation covering execution requirements, known limitations and integration considerations, so the people operating the process could understand how to run it and where to be careful.

What I delivered

  • A migrated Databricks and PySpark workflow.
  • Reusable and parameterised transformation components.
  • Automated data-quality controls.
  • Statistical validation and reconciliation checks.
  • Technical documentation and handover material.

Technologies I used

  • PySpark
  • Databricks
  • SQL Server
  • SQL
  • Data quality
  • Statistical validation

What this experience shows

  • Professional experience

    Delivery scope

    Databricks and PySpark migration with quality and validation controls

    This case records the scope, responsibilities and deliverables of my work.

Evidence and limits

  • This case does not provide a reproducible copy of the original environment.
  • I do not claim quantified performance gains or measured business impact.

What I would review in a similar case

  • How orchestration, retries and failure recovery would work in the target environment.
  • Whether data contracts and schema-change handling are explicit enough.
  • Access control and sensitive-data governance around the process.
  • Monitoring, lineage and operational alerting.
  • Compute-cost and performance tuning under realistic workloads.
  • Reconciliation, rollback and a controlled migration path from the legacy process.

Where this experience is relevant

  • SQL or SAS analytical-process migration to PySpark.
  • Databricks pipeline and workflow modernisation.
  • ETL and data-quality design.
  • Analytical-process automation.
  • Technical assessment and migration roadmap.
  • Delivery documentation and handover.

Related public implementation

  • View the public repository

    Data Quality Pipeline Lab is an independent public implementation. It uses synthetic data, synthetic rules and a synthetic architecture. It does not reproduce employer code, data or systems. It demonstrates contracts, quarantine, reconciliation, idempotency, tests and CI.

Next steps

Back to selected work