Energy Data Platform
Smart-meter, IoT, and data center data unified in one Azure lakehouse with a Text-to-SQL assistant, so business teams get answers without waiting for data engineers.

Industries
Country
Israel
Services
What we did
Energy
·Utilities
·Data Centers
·Data Engineering
·Azure
·Data Lakehouse
·Delta Lake
·Apache Spark
·Trino
·Kubernetes
·CDC Streaming
·Text-to-SQL
·LLM
·AI Analytics
Stack
Azure Kubernetes Service
·Azure Container Registry
·Azure CLI
·PowerShell 5.1+
·Apache Spark (Standalone cluster)
·PySpark
·Apache Livy 0.7.1
·Apache Airflow
·Azure Data Lake Storage Gen2
·Delta Lake
·Hive Metastore
·Azure Files
·SQL Server (CDC)
·PostgreSQL
·NATS JetStream
·Kafka
·Trino 442
·FastAPI
Client
The client is a Germany-based organization working in energy, utility metering, and data center infrastructure. Its operations produce large volumes of smart-meter readings and IoT telemetry, while business data sat in legacy SQL Server databases, files in Azure Storage, and real-time streams. The company needed one scalable cloud platform on Microsoft Azure to bring this data together, process it reliably, and make it usable for the people who run the business — not only for engineers who write SQL.
Key Highlights
One lakehouse for all energy data. Azure Data Lake Storage Gen2, Delta Lake, and a shared Hive Metastore unify batch and streaming analytics in a single source of truth.
Multi-domain data pipelines. Meter data (MDM), VEE validation, energy efficiency, and data center telemetry, orchestrated with Airflow.
Real-time and batch sync. SQL Server change data capture (CDC), NATS JetStream, and Kafka keep the lakehouse up to date with source systems.
Text-to-SQL AI assistant. Business users ask questions in natural language, and an LLM gateway turns them into SQL queries over the lakehouse.
Challenge
The client’s data lived in many places: legacy SQL Server databases, flat files in Azure Storage, and real-time streams from meters and devices. Each source worked on its own, so there was no single source of truth, and every new report meant collecting data from several systems by hand.
The core challenge was bringing all of it into one platform that could handle high data volumes and stay reliable.
Energy data added its own requirements. Meter readings had to pass strict validation, estimation, and editing (VEE) rules before they could be used in reporting. Compute load swung between heavy batch jobs and ad-hoc queries, and the platform had to scale without redeploying core services. And business users depended on data engineers for almost every question, because the data was too complex to query without SQL.
Solution
We built a cloud-native data lakehouse on Microsoft Azure with separate storage and compute, and added a conversational AI layer on top:
- Lakehouse storage and catalog. Azure Data Lake Storage Gen2 with Delta Lake tables and a shared Hive Metastore, plus PostgreSQL for relational state, keep all batch and streaming data in one place.
- Automated multi-domain pipelines. Apache Airflow orchestrates ingestion and processing for MDM, VEE, energy efficiency, data center telemetry, licensing, and notifications.
- Change data capture from legacy systems. SQL Server changes stream into the lakehouse through NATS JetStream with cursor tracking, and dedicated diagnostic pipelines verify that the sync is complete.
- Spark processing on demand. PySpark jobs run through the Apache Livy API on custom container images, so batch transformations are submitted and managed programmatically.
- Fast federated SQL. Trino queries Delta Lake and Hive catalogs through one shared metastore, giving low-latency SQL across the whole lakehouse.
- Text-to-SQL LLM gateway. A FastAPI service with schema-aware prompts translates natural-language questions into safe Trino queries over processed data and returns automated analytical summaries.
- Independent scaling on Kubernetes. Spark workers, Trino workers, and Airflow schedulers run as separate deployments on Azure Kubernetes Service, so each tier scales with its own workload, while Delta Lake tables are compacted and cleaned automatically.
Process
Our team of data engineers, DevOps engineers, and backend/AI engineers built the platform layer by layer. We started with the infrastructure and storage foundation, then added data ingestion and processing, and finished with the query engine and the AI layer on top:
- Infrastructure. We provisioned Azure Kubernetes Service, Azure Data Lake Storage Gen2, and Azure Container Registry, and automated the setup with PowerShell scripts. Spark workers, Trino workers, and Airflow schedulers were planned as separate Kubernetes deployments from the start, so each tier could scale on its own.
- Lakehouse and metadata. We configured the Delta Lake storage layers, the shared Hive Metastore, and PostgreSQL. The metastore serves both the Hive and Delta Lake catalogs, so every engine works with the same tables.
- Ingestion and CDC. We built Airflow pipelines to sync SQL Server, Azure Storage files, and NATS JetStream CDC streams. Change data capture from SQL Server uses NATS JetStream cursors, and dedicated diagnostic pipelines check that no changes are lost along the way.
- Batch and VEE pipelines. We developed PySpark transformation jobs for the MDM, VEE, and data center domains. The jobs run on custom Spark container images and are triggered through the Apache Livy HTTP API, so Airflow controls the whole processing chain.
- Query engine and AI gateway. We deployed Trino and built the FastAPI LLM gateway for natural-language queries. The gateway uses schema-aware prompts, so the model knows the structure of the processed data, generates only safe queries against it, and returns an automated summary of the results.
- Observability and scaling. We set up Airflow monitoring, CDC diagnostics, automated table maintenance, and independent scaling of Kubernetes workers. Delta Lake tables are compacted and vacuumed automatically, and historical data can be reprocessed through Airflow when needed.
This order meant every new layer was built on a stable, tested base. Today each part of the platform — storage, processing, querying, and AI — can be developed and scaled independently, so new data domains and users can be added without rebuilding what already works.
Result
- A single source of truth — legacy SQL Server databases, flat files, and real-time telemetry now live in one Azure lakehouse for energy and data center operations.
- Data access without SQL — business users query complex energy and metering data in natural language through the AI gateway.
- Reliable metering data — automated VEE validation, CDC diagnostics, and reprocessing pipelines keep metering and energy efficiency reporting accurate.
- Elastic compute — Spark, Trino, and Airflow scale independently on Kubernetes based on demand, without redeploying the platform.
Technologies: Azure Kubernetes Service (AKS) · Azure Container Registry (ACR) · Azure CLI · PowerShell 5.1+ · Apache Spark (Standalone cluster) · PySpark · Apache Livy 0.7.1 · Apache Airflow · Azure Data Lake Storage Gen2 (ADLS Gen2) · Delta Lake · Hive Metastore · Azure Files · SQL Server (CDC) · PostgreSQL · NATS JetStream · Kafka client · Trino 442 · FastAPI (LLM Gateway).
Explore more case studies
Explore allHave a product that needs to impress from the first second?
Premium look and speed don't have to compete. ZentixSoft builds sites that convey the full value of your product - and open instantly on any device.
