Both Ends Count! Just How Good are LLM Agents at "Text-to-Big SQL"?

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Eizaguirre, Germán T., Tissen, Lars, Sánchez-Artigas, Marc
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911631821242368
author Eizaguirre, Germán T.
Tissen, Lars
Sánchez-Artigas, Marc
author_facet Eizaguirre, Germán T.
Tissen, Lars
Sánchez-Artigas, Marc
contents Text-to-SQL and Big Data are both extensively benchmarked fields, yet there is limited research that evaluates them jointly. In the real world, Text-to-SQL systems are often embedded with Big Data workflows, such as large-scale data processing or interactive data analytics. We refer to this as ``Text-to-Big SQL''. However, existing text-to-SQL benchmarks remain narrowly scoped and overlook the cost and performance implications that arise at scale. For instance, translation errors that are minor on small datasets lead to substantial cost and latency overheads as data scales, a relevant issue completely ignored by text-to-SQL metrics. In this paper, we overcome this overlooked challenge by introducing novel and representative metrics for evaluating Text-to-Big SQL. Our study focuses on production-level LLM agents, a database-agnostic system adaptable to diverse user needs. Via an extensive evaluation of frontier models, we show that text-to-SQL metrics are insufficient for Big Data. In contrast, our proposed text-to-Big SQL metrics accurately reflect execution efficiency, cost, and the impact of data scale. For example, GPT-4o compensates for roughly 7% lower accuracy than the top-performing later-generation models with up to a 12.16x speedup, while GPT-5.2 is more than twice as cost-effective as Gemini 3 Pro at large input scales.
format Preprint
id arxiv_https___arxiv_org_abs_2602_21480
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Both Ends Count! Just How Good are LLM Agents at "Text-to-Big SQL"?
Eizaguirre, Germán T.
Tissen, Lars
Sánchez-Artigas, Marc
Databases
Computation and Language
Information Retrieval
I.2.7; H.2.8
Text-to-SQL and Big Data are both extensively benchmarked fields, yet there is limited research that evaluates them jointly. In the real world, Text-to-SQL systems are often embedded with Big Data workflows, such as large-scale data processing or interactive data analytics. We refer to this as ``Text-to-Big SQL''. However, existing text-to-SQL benchmarks remain narrowly scoped and overlook the cost and performance implications that arise at scale. For instance, translation errors that are minor on small datasets lead to substantial cost and latency overheads as data scales, a relevant issue completely ignored by text-to-SQL metrics. In this paper, we overcome this overlooked challenge by introducing novel and representative metrics for evaluating Text-to-Big SQL. Our study focuses on production-level LLM agents, a database-agnostic system adaptable to diverse user needs. Via an extensive evaluation of frontier models, we show that text-to-SQL metrics are insufficient for Big Data. In contrast, our proposed text-to-Big SQL metrics accurately reflect execution efficiency, cost, and the impact of data scale. For example, GPT-4o compensates for roughly 7% lower accuracy than the top-performing later-generation models with up to a 12.16x speedup, while GPT-5.2 is more than twice as cost-effective as Gemini 3 Pro at large input scales.
title Both Ends Count! Just How Good are LLM Agents at "Text-to-Big SQL"?
topic Databases
Computation and Language
Information Retrieval
I.2.7; H.2.8
url https://arxiv.org/abs/2602.21480