arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.09762cs.DB
收藏

Baseline: 基于操作的数据演化与版本控制

Baseline: Operation-Based Evolution and Versioning of Data

Independent, Boston, MA, USA(独立研究者);Charles University, Prague, Czechia(布拉格查理大学)

Jonathan Edwards, Tomas Petricek

AI总结:

提出Baseline平台,通过操作差分技术实现数据在时间、空间和设计变化下的版本控制,支持模式变更下的高保真差异比较与合并,并实现查询的操作化。

摘要:

Baseline是一个支持丰富结构化数据的平台,能够处理多个维度的变化:随时间发生的变异、跨空间的协作以及通过设计变更实现的演化。它建立在\textit{操作差分}这一新技术之上,该技术通过高层操作(包括重构和模式变更)来管理数据。我们利用操作差分为编程语言和关系数据库中使用的数据结构构建了一种基于操作的版本控制形式。这种数据版本控制方法能够在模式变更等结构变换后仍提供高保真的差异比较和合并。它为用户提供了一种简化的版本控制概念模型,便于临时使用:没有仓库;分支只是复制。仓库中维护的信息可以从分支的仅追加历史中更精确地合成。分支可以像文档文件一样灵活共享,但额外具有差异比较和合并的好处。我们推测查询可以被操作化为一组模式和数据操作序列。我们在包含选择和连接的查询语言片段上发展了这一想法。操作化的查询被表示为一个未来时间线,该时间线作为当前状态的一个分支被推测性执行,从其假设的未来返回一个值。操作化的查询会被重写,以通过操作差分的机制“免费”适应模式变更。我们通过文献综述中识别的模式演化问题案例研究(包括我们之前论文中识别的挑战问题集)来评估Baseline。

英文摘要:

Baseline is a platform for richly structured data supporting change in multiple dimensions: mutation over time, collaboration across space, and evolution through design changes. It is built upon \textit{Operational Differencing}, a new technique for managing data in terms of high-level operations that include refactorings and schema changes. We use operational differencing to construct an operation-based form of version control on data structures used in programming languages and relational databases. This approach to data version control offers high-fidelity diffing and merging despite intervening structural transformations like schema changes. It offers users a simplified conceptual model of version control for ad hoc usage: There is no repo; Branching is just copying. The information maintained in a repo can be synthesized more precisely from the append-only histories of branches. Branches can be flexibly shared as is commonly done with document files, except with the added benefit of diffing and merging. We conjecture that queries can be operationalized into a sequence of schema and data operations. We develop that idea on a query language fragment containing selects and joins. Operationalized queries are represented as a future timeline that is speculatively executed as a branch off of the present state, returning a value from its hypothetical future. Operationalized queries get rewritten to accommodate schema change ``for free'' by the machinery of operational differencing. We evaluate Baseline with case studies of schema evolution problems identified iin a literature review, including the set of challenge problems we identified in a prior paper.

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

↑