arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.11178cs.DBcs.PL
收藏

用于数据转换与计算的关系表达式

Relational Expressions for Data Transformation and Computation

David Robert Pratten, Luke Mathieson

AI总结:

针对数据转换与计算编程模型分离的问题,研究提出将完全关系引入关系数据库,结合约束编程成果,以统一的关系模型实现二者的统一范式、代码复用与高效执行。

摘要:

数据转换(声明式)与计算(过程式)采用分离的编程模型,会影响程序员的使用体验、代码可复用性和数据库效率。为消除对两种模型或范式的需求,我们提出一项规模小但影响力高的创新:将完全关系(complete relations)引入关系数据库。完全关系及与之相关的约束编程准则,与关系数据库建立在相同的代数基础之上。我们主张,通过将Codd与Date提出的关系数据库,与约束编程社区的研究成果相结合,关系模型可从整体上为程序员提供统一的声明式范式,同时适用于数据转换与计算;可提供可复用代码,其中的计算不受输入和输出内容的限制;还可通过查询引擎对所有层级的数据转换与计算进行优化和并行化,实现高效的应用程序。

英文摘要:

Separate programming models for data transformation (declarative) and computation (procedural) impact programmer ergonomics, code reusability and database efficiency. To eliminate the necessity for two models or paradigms, we propose a small but high-leverage innovation: the introduction of complete relations into the relational database. Complete relations and the discipline of constraint programming, which concerns them, are founded on the same algebra as relational databases. We claim that by synthesising the relational database of Codd and Date, with the results of the constraint programming community, the relational model holistically offers programmers a single declarative paradigm for both data transformation and computation, reusable code with computations that are indifferent to what is input and what is output, and efficient applications with the query engine optimising and parallelising all levels of data transformation and computation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑