Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errors
16 Jan · Jiawei Shen, Chengcheng Wan, Ruoyi Qiao +6 · arXiv:2501.09310
Large language models (LLMs) have been adopted for text-to-SQL tasks, utilizing their in-context learning (ICL) capability to translate natural language questions into SQL queries. However, such a technique faces correctness problems. In this paper, we conduct the first comprehensive study of text-to-SQL errors of ICL-based techniques. Our study covers four representative ICL-based techniques, five basic repairing…