2–3 wks
From kickoff to production lakehouse
60%
Reduction in report generation time
480 hrs
Annual engineering hours reclaimed

In oil and gas, data that arrives late is data that costs money. ExxonMobil needed their hydrocarbon reporting to move at the speed of the business — not the speed of their legacy ETL pipeline.

Hydrocarbon reporting is one of the most data-intensive operations in the energy sector. Every barrel produced, transported, refined, and sold generates data across multiple systems — and that data needs to reconcile to the cent at month end. When those systems don't talk to each other, and when the glue holding them together is a collection of manually maintained Excel files and overnight batch jobs, the result is predictable: delays, errors, and engineers spending their Fridays debugging pipelines instead of building the future.

That was the situation ExxonMobil's data engineering team brought to CodeSizzler. Five source systems. No unified data layer. Reports that took four-plus hours to generate and still required manual sign-off before anyone trusted them. The mandate was clear: build a production-grade data platform that the business could actually rely on.

The Problem: Five Systems, No Single Source of Truth

Before we could design anything, we needed to understand what we were connecting. ExxonMobil's hydrocarbon data landscape spanned five distinct systems, each owned by a different team and running on a different refresh cadence:

No single team had a complete picture of hydrocarbon production for any given day. Month-end close required a dedicated three-person reconciliation exercise that consumed the better part of a week. And because the reports were known to be imperfect, finance added manual review checkpoints that added days to the close cycle.

The Architecture: Azure Databricks Medallion Lakehouse

We chose Azure Databricks on ADLS Gen2 as the foundation — not because it was fashionable, but because the medallion architecture maps directly to how oil and gas data actually flows: from raw sensor telemetry, through business rule application, to finance-grade reporting. The three-layer structure gave us a clean separation of concerns that both engineering and finance could reason about.

🔵
Bronze — Raw Ingestion

As-is, with full audit trail

SCADA, SAP, PMS, LIMS, and Excel feeds land exactly as received — no transformations, no filtering. Every record is timestamped with ingestion time and source system. Nothing is ever overwritten.

Silver — Cleansed & Standardised

Deduplication, unit conversion, business rules

SCADA clock drift is corrected. SAP and PMS records are reconciled. Units are normalised to standard barrels. Schema enforcement and data quality checks reject malformed records with clear error messages.

🟡
Gold — Business-Ready Reporting

Allocation, reconciliation, executive dashboards

Hydrocarbon allocation by well, lease, and business unit. Financial reconciliation tables ready for SAP writeback. Power BI semantic models connecting directly to Gold Delta tables for self-serve analytics.

The decision to put the Excel exception files through the same Bronze → Silver → Gold pipeline as the structured systems was deliberate. By treating them as first-class data sources rather than one-off imports, we ensured that field engineer adjustments carried full audit lineage from workbook cell to finance report — and that they could be replaced by structured system data as ExxonMobil's upstream systems matured.

Unity Catalog: Governance That Finance Actually Trusts

Data quality is only half the battle in a regulated energy company. The other half is demonstrating to finance, compliance, and external auditors that the data is what it claims to be — and that only the right people can see the right data. Unity Catalog addressed this directly:

CI/CD: Pipelines That Don't Break at Month End

The old ETL pipelines had no automated testing. A schema change upstream could silently corrupt downstream reports without anyone noticing until the Monday morning reconciliation run. We replaced the entire deployment lifecycle with a Git-based CI/CD workflow:

Three Technical Decisions That Made the Difference

Any Azure Databricks engagement involves dozens of small architectural decisions that don't show up in the architecture diagram. These three had the largest impact on the final platform's reliability and performance:

01

Delta Live Tables over hand-rolled PySpark

DLT's declarative pipeline model gave us built-in retry logic, data quality expectations as code, and automatic lineage tracking — capabilities that would have taken weeks to engineer manually. The productivity gain alone justified the choice.

02

MERGE INTO (upsert) for SCADA late arrivals

SCADA devices sometimes deliver readings hours after the fact due to connectivity gaps. MERGE INTO lets us handle late arrivals correctly — updating existing Silver records rather than creating duplicates — without rebuilding the entire partition.

03

ZORDER clustering on production date

The most common hydrocarbon query pattern is time-range selection by production date. ZORDERing Gold tables on production_date reduced scan data volume by over 70% for typical reporting queries, cutting report generation time from hours to minutes.

ROI: What the Numbers Actually Showed

ExxonMobil's data engineering leadership asked us to be conservative with projections before the build. Eight weeks post-deployment, the actuals were ahead of every estimate:

MetricBeforeAfter
Report generation time4+ hours90 minutes
Data freshnessT+24 hoursT+3 hours
Manual reconciliation effort~12 hrs/week (3 engineers)~0 — fully automated
Month-end close cycle5–7 business days2–3 business days
Annual engineering hours reclaimed480 hrs

The 480 engineering hours recovered annually didn't disappear from the budget — they were redirected to the next phase of the data platform, compounding the return on the original investment.

The harder-to-quantify benefit was organisational trust. Finance stopped adding manual review checkpoints to the report cycle because they trusted the data. That trust took three months to build — and it was built on Unity Catalog audit lineage, not on a slide deck.

Lessons Learned: What We'd Tell the Next Team

Every engagement surfaces things that no architecture document could predict. Here are the five we'd pass on to any team embarking on a similar build:

Why Azure Databricks for Oil & Gas?

There's a reason the Medallion architecture + Unity Catalog combination has become the reference pattern for regulated data platforms in energy. Oil and gas data is inherently multi-source, multi-frequency, and regulation-sensitive — and those three properties push the platform requirements in directions that traditional data warehouses struggle to satisfy.

The ability to enforce column and row security, maintain complete audit lineage from sensor to report, and serve both operational and analytical workloads from the same Delta Lake without data duplication is a genuine differentiator. ExxonMobil's finance, operations, and compliance teams now query the same Gold tables — with access controlled by Unity Catalog policy rather than by maintaining separate reporting databases per audience.

That's not an architecture diagram selling a dream. That's what the system has been doing in production for the last two quarters.

🛢️ Building a hydrocarbon reporting platform or lakehouse for energy? Let's talk.

Talk to a Data Engineer
Azure Databricks Delta Lake Delta Live Tables Unity Catalog ADLS Gen2 PySpark Azure DevOps SAP SCADA Power BI Azure Key Vault Microsoft Fabric
ARFK

Abdul Rasheed Feroz Khan

Founder & AI Solutions Architect

Microsoft MVP and MCT Community Lead for India. Fero leads CodeSizzler's AI practice — architecting enterprise AI agents on Azure AI Foundry and delivering intensive training programmes across India and UAE. He has personally driven Copilot Accelerator initiatives for multiple enterprise clients.

Microsoft MVP MCT Community Lead AI Foundry Copilot

Ready to build a data platform your finance team will actually trust?

CodeSizzler delivers production Medallion lakehouses on Azure Databricks and Microsoft Fabric — from architecture design to go-live in weeks.