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 multi-source declarations, identifies function units that require specialized coding, and traces cross-unit dependencies. Second, we design operations to address the main synthesis challenges: (1) a pseudo-code-based coding plan generator that constructs structured implementation skeletons by identifying key elements such as reusable referenced functions; (2) a hybrid fill-in-the-blank model guided by probabilistic priors and component awareness to integrate core logic with reusable routines; and (3) three-level progressive validation, including syntax checking, standards compliance, and LLM-guided semantic verification. Finally, an adaptive orchestration strategy unifies these operations with existing tools and dynamically sequences them via the orchestration history of similar functions. Results show that DBCooker outperforms other methods on SQLite, PostgreSQL, and DuckDB (34.55% higher accuracy on average), and can synthesize new functions absent in the latest SQLite (v3.50).
Language-Native Materials Processing Design by Lightly Structured Text Database and Reasoning Large Language Model
State Key Laboratory of Advanced Materials for Intelligent Sensing, Key Laboratory of Organic Integrated Circuit, Ministry of Education & Tianjin Key Laboratory of Molecular Optoelectronic Sciences, Department of Chemistry, School of Science, Tianjin University(智能传感先进材料国家重点实验室、有机集成电路重点实验室、教育部、天津分子光电子科学重点实验室、化学系、天津大学);Language Intelligence Technology Co., Ltd.(语言智能技术有限公司);College of Intelligence and Computing, Tianjin University(智能与计算学院、天津大学);School of Materials and Chemical Engineering, Ningbo University of Technology(材料与化学工程学院、宁波工业大学)
Automating Bibliometric Analysis with Sentence Transformers and Retrieval-Augmented Generation (RAG): A Pilot Study in Semantic and Contextual Search for Customized Literature Characterization for High-Impact Urban Research
Oak Ridge National Laboratory(橡树岭国家实验室);The University of Tennessee(田纳西大学)
Shanghai Jiao Tong University(上海交通大学);National University of Singapore(新加坡国立大学);Microsoft Corporation(微软公司);Hong Kong Baptist University(香港 Baptist 大学)
Snel是一个关系数据库引擎,具有查询的即时(JIT)编译和列式数据表示。Snel旨在通过利用LLVM编译器基础设施进行快速在线分析。它还具有自定义的特殊方法,如解析直方图作为SQL语言的扩展。Snel是指“SQL Native Execution for LLVM”。与传统的数据库引擎不同,它不提供客户端-服务器接口。相反,它将其接口公开为SQLite的扩展,用于从命令行进行简单的交互式使用并嵌入应用程序中。由于Snel表是只读的,因此它不提供事务或更新等功能。这使得查询非常快,因为它们没有表锁定或确保一致性的开销。Snel的核心是一个可供客户端应用程序使用的动态库。它有一个SQLite扩展,可以与传统的SQL环境进行无缝集成,并可以从命令行进行简单的交互式使用。