Research map / Large language models / Language, safety and interpretability
PolySQL: Scaling Text-to-SQL Evaluation Across SQL Dialects via Automated Backend Isomorphism
Yotam Perlitz, Elad Venezian, Corentin Royer, Francesco Fusco, Andrea Giovannini
IBM · ETH Zurich
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| evaluate by dual execution on migrated target DBs instead of SQLGlot transpiling gold to target | cross-dialect evaluation · BIRD manual reference | Cohen's kappa: 0.48 -> 0.72 | Improved |
| use dual execution instead of LLM transpilation of gold queries | cross-dialect evaluation · BIRD manual reference | Cohen's kappa: 0.66 -> 0.72 | Improved |
| use dual execution instead of LLM-as-a-Judge | cross-dialect evaluation · BIRD manual reference | Cohen's kappa: 0.38 -> 0.72 | Improved |
| use dual execution instead of rule-based transpilation | cross-dialect evaluation · BIRD manual reference | query coverage: 40.9-46.1% -> 100% | Improved |
| move from SQLite to other dialects | 16 Text-to-SQL models · multi-dialect execution accuracy | average accuracy: 10.1% average drop | Hurt |
| use SQLite results as a proxy for target dialect per-query results | SQLite evaluation · 5 target dialects, 300 instances | Cohen's kappa: kappa approx. 0.39 | Hurt |
| use SQLite model ranking to predict target-dialect ranking | SQLite evaluation · 5 target dialects | Spearman rho: rho approx. 0.64 | Hurt |
| switch to Snowflake or BigQuery from PostgreSQL or MySQL | models · dialect difficulty | average accuracy: 36.0-36.3% vs 39.5-39.8% | Hurt |
| compare PostgreSQL against MySQL | models · dialect difficulty | accuracy: p approx. 0.40 | No clear effect |
| switch Llama 3.1 405B from SQLite to Snowflake | Llama 3.1 405B · rank among 16 models | rank: 2nd -> 9th | Hurt |
| cross-dialect failure source: logic vs syntax | gap errors · gap error classification | share of gap errors: 61.2% logic vs 7.7% dialect syntax | Mixed |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- Closing the Cross-Dialect Gap: Query Plans as a Portable Interface in Text-to-SQL (EMNLP 2026 · similarity 0.92)
- Dialect-SQL: An Adaptive Framework for Bridging the Dialect Gap in Text-to-SQL (EMNLP 2025 · similarity 0.90)
- ExeSQL: Self-Taught Text-to-SQL Models with Execution-Driven Bootstrapping for SQL Dialects (EMNLP 2025 · similarity 0.90)
- Evaluating NL2SQL via SQL2NL (EMNLP 2025 · similarity 0.90)
- Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflows (ICLR 2025 · similarity 0.89)
- PARROT: A Benchmark for Evaluating LLMs in Cross-System SQL Translation (NeurIPS 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.