About PARROT 🦜
PARROT (Practical And Realistic BenchmaRk for CrOss-System SQL Translation) was created to support the task of Cross-System SQL Translation (i.e., SQL-to-SQL translation), which involves adapting a query written for one database system into its functionally equivalent form for another.
The main dataset comprises 598 translation pairs from 38 open-source benchmarks and real-world business services, specifically prepared to challenge system-specific SQL understanding.
News
- May 15, 2025: We have released PARROT-1.0 (28,003 translation pairs from 38 open-source benchmarks for extensive syntax testing) and published the leaderboard.
Surprise from PARROT
We have experimented different LLMs in terms of (1) usage license, (2) parameter scale, and (3) task scope. These LLMs attain an average accuracy below 38.53 %, underscoring the substantial challenges inherent to SQL-to-SQL translation and the pressing need for more advanced techniques.
Citation
@inproceedings{zhou2025parrot, author = {Wei Zhou and Guoliang Li and Haoyu Wang and Yuxing Han and Xufei Wu and Fan Wu and Xuanhe Zhou}, title = {PARROT: A Benchmark for Evaluating LLMs in Cross-System SQL Translation}, booktitle = {NeurIPS}, year = {2025} } @article{zhou2025cracksql, author = {Wei Zhou and Yuyang Gao and Xuanhe Zhou and Guoliang Li}, title = {{Cracking SQL Barriers:} {An} LLM-based Dialect Transaltion System}, journal = {Proc. {ACM} Manag. Data}, volume = {3}, number = {3 (SIGMOD)}, year = {2025} } @article{zhou2025cracksqldemo, author = {Wei Zhou and Yuyang Gao and Xuanhe Zhou and Guoliang Li}, title = {CrackSQL: A Hybrid SQL Dialect Translation System Powered by Large Language Models}, journal = {arXiv Preprint}, url = {https://arxiv.org/abs/2504.00882}, year = {2025} }
PARROT
We have publicly released PARROT along with detailed usage instructions. For more details, please visit the GitHub repository. To update the leaderboard, ensure that your paper or resource is publicly accessible and submit a pull request.