计算机科学 > 数据库
[提交于 2024年12月10日]
标题:Synthesizing Document Database Queries using Collection Abstractions
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Document databases are increasingly popular in various applications, but their queries are challenging to write due to the flexible and complex data model underlying document databases. This paper presents a synthesis technique that aims to generate document database queries from input-output examples automatically. A new domain-specific language is designed to express a representative set of document database queries in an algebraic style. Furthermore, the synthesis technique leverages a novel abstraction of collections for deduction to efficiently prune the search space and quickly generate the target query. An evaluation of 110 benchmarks from various sources shows that the proposed technique can synthesize 108 benchmarks successfully. On average, the synthesizer can generate document database queries from a small number of input-output examples within tens of seconds.
提交历史
来自:Qikang Liu[v1] 2024年12月10日 星期二 00:00:00 UTC