mlsanityData to 7 Oct 2026

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

arXiv 2602.21480 ↗First posted 25 Feb 2026cs.DB cs.CL cs.IRcited by 1

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 26 of its 55 references that are in the map. First posted on arXiv 25 Feb 2026.

Builds on

26 of 55 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025Supporting Our AI Overlords: Redesigning Data Systems to be Agent-First31 Aug
  2. 2025ReFoRCE: A Text-to-SQL Agent with Self-Refinement, Consensus Enforcement, and Column Exploration2 Feb
  3. 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQL15 Aug

Other references · 23

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  3. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  4. 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 286
  5. 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 223
  6. 2025AI Agents vs. Agentic AI: A Conceptual Taxonomy, Applications and Challengescited by 167
  7. 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 118
  8. 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scalecited by 90
  9. 2024The Dawn of Natural Language to SQL: Are We Fully Ready?cited by 78
  10. 2023Tool Documentation Enables Zero-Shot Tool-Usage with Large Language Modelscited by 66
  11. 2025Barbarians at the Gate: How AI is Upending Systems Researchcited by 48
  12. 2024FinSQL: Model-Agnostic LLMs-based Text-to-SQL Framework for Financial Analysiscited by 35
11 more
  1. 2025Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Searchcited by 33
  2. 2025Is Long Context All You Need? Leveraging LLM's Extended Context for NL2SQLcited by 30
  3. 2024Large Language Model Enhanced Text-to-SQL Generation: A Surveycited by 24
  4. 2026Extracting books from production language modelscited by 16
  5. 2025Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errorscited by 14
  6. 2025Abacus: A Cost-Based Optimizer for Semantic Operator Systemscited by 11
  7. 2024SQLfuse: Enhancing Text-to-SQL Performance through Comprehensive LLM Synergycited by 7
  8. 2025PalimpChat: Declarative and Interactive AI analyticscited by 4
  9. 2026Broken Chains: The Cost of Incomplete Reasoning in LLMscited by 4
  10. 2025Unified Tool Integration for LLMs: A Protocol-Agnostic Approach to Function Callingcited by 3
  11. 2025Beyond Relational: Semantic-Aware Multi-Modal Analytics with LLM-Native Query Optimizationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025BAPPA: Benchmarking Agents, Plans, and Pipelines for Automated Text-to-SQL Generation
  2. 2025Rethinking Agentic Workflows: Evaluating Inference-Based Test-Time Scaling Strategies in Text2SQL Tasks
  3. 2024Tool-Assisted Agent on SQL Inspection and Refinement in Real-World Scenarios
  4. 2026How Far Do On-Prem Open LLMs Get on Text-to-SQL? A Cross-Family Size x Technique Frontier on BIRD
  5. 2023MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQL
  6. 2026DataClawEval: A Benchmark for Data Engineering Agents in Real Industrial Harness
  7. 2024From Natural Language to SQL: Review of LLM-based Text-to-SQL Systems
  8. 2025Cheaper, Better, Faster, Stronger: Robust Text-to-SQL without Chain-of-Thought or Fine-Tuning