From the source
Together AI, Stanford University, the University of Wisconsin–Madison, and Bauplan collaborated to test whether LLMs can optimize database query execution plans.
They introduce DBPlanBench, a harness that exposes the internal physical operator graph of Apache DataFusion to an LLM, and show that LLM-guided plan rewrites can improve execution performance without modifying the database engine itself.






