PARROT: A Benchmark for Evaluating LLMs in Cross-System SQL Translation
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMS) have shown increasing effectiveness in Text-to-SQL tasks. However, another closely related problem, Cross-System SQL Translation (a.k.a., SQL-to-SQL), which adapts a query written for one database system (e.g., MySQL) into its equivalent one for another system (e.g., ClickHouse), is of great practical importance but remains underexplored. Existing SQL benchmarks are not well-suited for SQL-to-SQL evaluation, which (1) focus on a limited set of database systems (often just SQLite) and (2) cannot capture many system-specific SQL dialects (e.g., customized functions, data types, and syntax rules). Thus, in this paper, we introduce PARROT, a Practical And Realistic BenchmaRk for CrOss-System SQL Translation. PARROT comprises 598 translation pairs from 38 open-source benchmarks and real-world business services, specifically prepared to challenge system-specific SQL understanding (e.g., LLMS achieve lower than 38.53% accuracy on average). We also provide multiple benchmark variants, including PARROT-Diverse with 28,003 translations (for extensive syntax testing) and PARROT-Simple with 5,306 representative samples (for focused stress testing), covering 22 production-grade database systems. To promote future research, we release a public leaderboard and source code at: https://code4db.github.io/parrot-bench/.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 8 of its 21 references that are in the map. First posted on arXiv 27 Sep 2025.
Builds on
8 of 21 references.
References · 8
- 2023GPT-4 Technical Reportcited by 18,396
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
- 2018Improving Text-to-SQL Evaluation Methodologycited by 135
- 2025CrackSQL: A Hybrid SQL Dialect Translation System Powered by Large Language Modelscited by 4
- 2024ByteCard: Enhancing ByteDance's Data Warehouse with Learned Cardinality Estimationcited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025A Survey of Data Agents: Emerging Paradigm or Overstated Hype?cited by 30
- 2026Automating Database-Native Function Code Synthesis with LLMscited by 2
- 2026Dial: A Knowledge-Grounded Dialect-Specific NL2SQL Systemcited by 0
- 2026UniQL: Towards Dialect-Universal Benchmarking for Text-to-SQLcited by 0
- 2026BIRD-History: A Benchmark for History-Driven Text-to-SQL with Fine-Grained Knowledge Annotationscited by 0
- 2026BIRD-History: A Benchmark for History-Driven Text-to-SQL with Fine-Grained Knowledge Annotations29 Aug 2026
- 2026UniQL: Towards Dialect-Universal Benchmarking for Text-to-SQL6 Jun 2026
- 2026Automating Database-Native Function Code Synthesis with LLMs2 Apr 2026
- 2026Dial: A Knowledge-Grounded Dialect-Specific NL2SQL System8 Mar 2026
- 2025A Survey of Data Agents: Emerging Paradigm or Overstated Hype?27 Oct 2025