<-- Back to All News

Vodafone Cuts Data Pipeline Costs 30% via Data EngineeringAgent

Publish Date: November 23, 2026

Executive Overview

Enterprise data engineering teams operating large-scale analytical warehouses frequently inherit thousands of lines of monolithic, sequential stored procedures from legacy on-premises database migrations. Maintaining, debugging, and scaling these massive scripts creates severe operational bottlenecks, rigid spreadsheet-tracked dependencies, and elevated compute costs. On November 21, 2026, Google Cloud published a technical case study detailing how Vodafone Czech Republic modernized its BigQuery data transformation pipelines using the Gemini-powered Data Engineering Agent inside Dataform—cutting data pipeline operational costs by 30% while accelerating development velocity.

Available across BigQuery pipelines and Dataform, the Data Engineering Agent ingests natural-language instructions alongside existing SQL stored procedures to refactor monolithic scripts into modular, directed acyclic graph (DAG) pipelines. By automatically parallelizing independent transformation steps, caching shared intermediate tables using BigQuery materialized views, and generating visual lineage graphs, Vodafone replaced manual dependency spreadsheets and full-script reruns with resilient, modular data workflows—laying the groundwork to systematically modernize legacy SAS, BTEQ, and MicroStrategy workloads across the enterprise.

Features

The Data Engineering Agent within BigQuery and Dataform combines conversational code refactoring, automated dependency orchestration, and intelligent intermediate caching.

  • Natural-Language Refactoring of Monolithic Stored Procedures: Data engineers supply plain-language instructions paired with existing multi-thousand-line BigQuery stored procedures (typically 2,000 to 3,000 lines of sequential SQL) to the Data Engineering Agent inside Dataform, which automatically decomposes the monolith into modular, readable transformation steps.
  • Automated Parallelization with Materialized View Caching: The Data Engineering Agent identifies independent transformation branches that can execute concurrently and maps downstream table dependencies, automatically generating BigQuery materialized views to pre-cache shared intermediate staging tables so parallel threads avoid redundant full-table scans.
  • DAG-Based Dependency Orchestration and Auto-Generated Lineage: Replacing manual dependency tracking in external spreadsheets, Dataform automatically manages execution order, dependency resolution, execution logs, and visual lineage graphs across all modular actions.
  • Granular Sub-Pipeline Execution and Debugging: Splitting monolithic procedures into discrete Dataform actions allows engineers to run and debug isolated sections of a pipeline rather than re-executing an entire 3,000-line script after every code change.
Benefits

Modernizing legacy stored procedures with the Data Engineering Agent delivers substantial financial, operational, and engineering agility advantages.

  • 30% Reduction in Data Pipeline Compute Costs: Combining modular execution with materialized view pre-caching for shared staging tables eliminates redundant base-table scans and wasted full-script reruns.
  • Elimination of Manual Dependency Spreadsheets and Brittle Scheduling: Migrating hardcoded sequential scripts into Dataform’s native DAG scheduler provides automated lineage tracking, centralized logging, and deterministic execution order.
  • Accelerated Debugging and Iteration Cycles: Executing only affected pipeline nodes during development and incident recovery compresses troubleshooting times from hours to minutes.
  • Scalable Blueprint for Legacy Code Exit: Establishing an agent-assisted migration workflow equips enterprise data teams to systematically convert legacy SAS code, Teradata BTEQ scripts, and MicroStrategy logic into cloud-native Dataform pipelines.
Use Cases

The Data Engineering Agent supports high-impact data warehouse modernization and pipeline optimization initiatives across enterprise environments.

  • Migrating Legacy On-Premises Stored Procedures to Dataform: Telecommunications, banking, and retail enterprises that previously lifted-and-shifted multi-thousand-line SQL stored procedures into BigQuery refactor them into modular, version-controlled Dataform repositories.
  • Optimizing Parallel Query Costs on Shared Staging Tables: Analytics engineering teams instruct the Data Engineering Agent to identify high-fanout staging tables and generate BigQuery materialized views, balancing parallel execution speed against slot and byte-scan efficiency.
  • Enterprise-Wide SAS and BTEQ Technical Debt Retirement: Global data organizations industrialize the Data Engineering Agent across business units to convert proprietary legacy analytics scripts into standardized SQL and Dataform DAGs.
  • Self-Documenting Compliance and Data Lineage Governance: Regulated enterprises leverage Dataform’s auto-generated lineage graphs to trace downstream metric dependencies without manual documentation overhead.
Alternatives

Data engineering leaders evaluating automated pipeline refactoring and modern SQL transformation orchestration compare several competing approaches.

  • Manual Engineering Refactoring of Stored Procedures: Assigning data engineers to manually read, untangle, and rewrite 3,000-line legacy stored procedures into modular SQL files provides complete human control, but requires months of tedious labor and risks introducing subtle logic regressions.
  • dbt Core / dbt Cloud with Generic Code Assistants: Open-source dbt provides strong DAG orchestration and modularity. However, pairing generic IDE chat tools with dbt lacks native BigQuery and Dataform control-plane integration, requiring manual schema context assembly and custom tuning for BigQuery materialized view caching.
  • Lift-and-Shift Execution of Legacy Stored Procedures in BigQuery: Leaving migrated stored procedures untouched inside BigQuery avoids upfront refactoring effort, but perpetuates sequential execution bottlenecks, opaque spreadsheet dependency tracking, and high compute costs from full-script reruns.
  • Commercial Legacy Code Conversion Utilities: Specialized third-party transpilers convert SAS or BTEQ syntax into target SQL dialects automatically, yet often produce unidiomatic, monolithic output rather than clean, modular, parallelized Dataform DAGs.
An Alternative Perspective

A thorough architectural evaluation requires examining the cost-parallelization trade-offs, prompt specificity requirements, and validation disciplines highlighted in Vodafone’s engineering lessons learned.

First, as Vodafone explicitly discovered during production rollout, blindly instructing an AI agent to maximize query parallelization can inadvertently increase BigQuery compute costs. When a legacy stored procedure executes sequentially, BigQuery’s internal cache often serves the base table efficiently for the single execution thread; splitting that logic into multiple concurrent branches without intermediate caching can trigger repeated full-table scans across parallel threads. Data engineers must guide the agent explicitly regarding which staging tables warrant parallelization and pair parallel branches with BigQuery materialized views.

Second, refactoring multi-thousand-line business-critical stored procedures requires rigorous data parity verification. Even when the Data Engineering Agent decomposes SQL accurately, subtle differences in null handling, casting, or intermediate view refresh timing can alter downstream financial or operational metrics. Teams must run parallel shadow comparisons validating row counts and checksums between legacy stored procedures and new Dataform pipelines before retiring legacy jobs.

Finally, maintaining generated Dataform repositories requires ongoing engineering discipline—enforcing Git pull-request reviews, naming conventions, and materialized view lifecycle policies so automated agent output remains clean and maintainable over time.

Final Thoughts

Vodafone’s 30% reduction in data pipeline costs demonstrates how agentic AI delivers immediate, measurable return on investment when applied to real enterprise technical debt. By pairing the Data Engineering Agent inside Dataform with targeted human guidance around staging tables and materialized view caching, Vodafone transformed brittle, multi-thousand-line stored procedures into agile, self-documenting pipelines.

For chief data officers, analytics engineering managers, and data platform architects, this case study offers a proven blueprint for legacy modernization. Organizations that combine conversational agent refactoring with disciplined cost-caching strategies and parity testing will retire legacy warehouse debt faster and build scalable foundations for modern data operations.

Source

https://cloud.google.com/blog/products/data-analytics/vodafone-cuts-data-pipeline-costs-30-via-data-engineeringagent