TL;DR
This paper introduces DBCooker, an LLM-based system that automates the synthesis of database native functions by addressing complex dependencies and validation challenges, significantly improving accuracy over existing methods.
Contribution
The paper presents a novel multi-component system that enhances database function synthesis using structured planning, hybrid modeling, and adaptive orchestration, outperforming prior approaches.
Findings
DBCooker achieves 34.55% higher accuracy on SQLite, PostgreSQL, and DuckDB.
It can synthesize new functions not present in the latest SQLite version.
The system effectively manages complex dependencies and validation in function synthesis.
Abstract
Database systems incorporate an ever-growing number of functions in their kernels (a.k.a., database native functions) for scenarios like new application support and business migration. This growth causes an urgent demand for automatic database native function synthesis. While recent advances in LLM-based code generation (e.g., Claude Code) show promise, they are too generic for database-specific development. They often hallucinate or overlook critical context because database function synthesis is inherently complex and error-prone, where synthesizing a single function may involve registering multiple function units, linking internal references, and implementing logic correctly. To this end, we propose DBCooker, an LLM-based system for automatically synthesizing database native functions. It consists of three components. First, the function characterization module aggregates…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
