arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1905.12133cs.DB
收藏

一个SQL统治一切

One SQL to Rule Them All

Edmon Begoli, Tyler Akidau, Fabian Hueske, Julian Hyde, Kathryn Knight, Kenneth Knowles

摘要:

实时数据分析和管理对当今的企业越来越重要。SQL是这些工作事实上的通用语言,但SQL对强大的流媒体分析和管理的支持仍然有限。许多方法将语义限制为特征的缩减子集和/或需要一套非标准构造。此外,使用事件时间戳来提供对根据事件实际发生的时间来分析事件的本机支持并不普遍,并且通常具有重要的限制。我们提出了一个三部分的建议,将强大的流到SQL标准,即:(1)时变关系作为基础的经典表以及流数据,(2)事件时间语义,(3)有限的一组可选的关键字扩展来控制随时间变化的查询结果的物化。通过使用Apache Calcite,Apache Flink和Apache Beam中的实现的示例和经验教训进行激励和说明,我们展示了如何使用这些最小的添加来利用完整的标准SQL语义套件来执行强大的流处理。

英文摘要:

Real-time data analysis and management are increasingly critical for today`s businesses. SQL is the de facto lingua franca for these endeavors, yet support for robust streaming analysis and management with SQL remains limited. Many approaches restrict semantics to a reduced subset of features and/or require a suite of non-standard constructs. Additionally, use of event timestamps to provide native support for analyzing events according to when they actually occurred is not pervasive, and often comes with important limitations. We present a three-part proposal for integrating robust streaming into the SQL standard, namely: (1) time-varying relations as a foundation for classical tables as well as streaming data, (2) event time semantics, (3) a limited set of optional keyword extensions to control the materialization of time-varying query results. Motivated and illustrated using examples and lessons learned from implementations in Apache Calcite, Apache Flink, and Apache Beam, we show how with these minimal additions it is possible to utilize the complete suite of standard SQL semantics to perform robust stream processing.

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

↑