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

0Citations
Citations of this article
11Readers
Mendeley users who have this article in their library.
Get full text

Abstract

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. These metrics enable new LLM-specific insights that are not revealed by traditional accuracy-based evaluations. For example, GPT-4o compensates for roughly 7% lower accuracy than the top-performing later-generation models with up to a 12.16× speedup, while GPT-5.2 is more than twice as cost-effective as Gemini 3 Pro at large input scales.

Author supplied keywords

Cite

CITATION STYLE

APA

Eizaguirre, G. T., Tissen, L., & Sánchez-Artigas, M. (2026). Both Ends Count! Just How Good are LLM Agents at Text-to-"Big SQL"? In EuroMLSys 2026 - Proceedings of the 2026 the 6th European Workshop on Machine Learning and Systems (pp. 333–345). Association for Computing Machinery, Inc. https://doi.org/10.1145/3805621.3807640

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free