Be CARE-ful with Text-to-SQL Benchmarks
Abstract
LLM-based database agents must do more than produce correct final SQL queries. They must handle concurrent state changes, comply with access-control and safety policies, preserve business and integrity rules, and execute efficiently. Existing text-to-SQL benchmarks leave many of these operational requirements untested. We introduce CAREFUL, a benchmark and executable evaluation environment organized around four CARE dimensions: Concurrency Control, Access Control & Safety Policies, Rules & Integrity, and Efficiency. A curated corpus of 590 practitioner articles, incident reports, standards, and source blocks grounds the risk taxonomy. A nine-person annotation team constructed 1,058 executable tasks on reproducible relational backbones, with task-specific data, policies, runtime conditions, and three stages of quality control. Each task evaluates the interaction trajectory using executable outcome checks and follow-up verification questions. Experiments with frontier LLM agents reveal substantial gaps: GPT-5.5 achieves a 33.9% Binary Pass Ratio and a 73.3% Composite Score overall, with results reported separately for each CARE dimension. Additional analyses examine annotation agreement, expert assessments, task and verifier perturbations, refusal behavior, and alternative exploration workflows. CAREFUL provides a controlled testbed for enterprise-inspired operational risks; its results do not certify readiness for a production deployment. Datasets and code are available at https://github.com/haonanw98/careful-bench.