TACO: A Benchmark for Open-Domain Text-to-SQL with Ambiguous and Cross-Database Queries
Chao DengJu FanYuyu LuoQinliang XueMeihao FanYuxin ZhangMin ZhangXiaofeng JiaJing ZhangXiaoyong Du
Chao Deng
Ju Fan
Yuyu Luo
Qinliang Xue
Meihao Fan
Yuxin Zhang
Min Zhang
Xiaofeng Jia
Jing Zhang
Xiaoyong Du
+10
The paper introduces TACO, a benchmark for open-domain Text-to-SQL that targets the challenges existing closed-domain benchmarks overlook, namely ambiguous questions, unspecified databases, and cross-database querying. TACO contains 1,500 real-world examples from a smart city data service plus 13,000 synthetic examples built from large-scale open data portals across transportation, healthcare, and finance, generated by a synthesis pipeline designed to preserve real-world query complexity. A baseline, TACO-SQL, combining question rewriting, table linking, and query planning illustrates these challenges, and experiments with recent approaches show TACO-SQL performs best yet still leaves a significant gap to human-written SQL.

PVLDB · May 8, 2026