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

Stream DaQ:流优先的数据质量监控

Stream DaQ: Stream-First Data Quality Monitoring

Vasileios Papastergios, Anastasios Gounaris

AI总结:

本文提出一种面向无界数据流的流优先数据质量监控模型,并实现为开源 Python 框架 Stream DaQ,统一 30 余项质量检查,通过窗口机制和动态约束实现实时质量元流生成,在性能上优于生产级替代方案。

摘要:

数据质量是现代数据科学工作流的基础,在这些工作流中,数据以无界流的形式持续流动,为从基础分析到高级人工智能模型的关键下游任务提供输入。现有的数据质量方法要么仅专注于静态数据,要么将流处理视为批处理的扩展,缺乏真正流式应用所需的时间粒度和上下文感知能力。在本文中,我们提出了一种专为无界数据流设计的新型数据质量监控模型。该模型引入了流优先的概念,例如可配置的窗口机制、动态约束自适应以及持续评估,后者能够生成质量元流以实现实时流水线感知。为了证明实际适用性,我们开发了 Stream DaQ,一个实现我们理论模型的开源 Python 框架。Stream DaQ 将分散在现有静态工具中的 30 多项质量检查统一并适配为一个全面的流式套件,使从业者能够通过组合式表达能力定义复杂且具有上下文感知能力的质量约束。我们的评估表明,该模型的实现在执行时间和吞吐量方面均显著优于一个生产级替代方案,同时与其他选择相比,通过原生流式能力提供了更丰富的功能。凭借其 Python 原生设计,Stream DaQ 能够与现代数据科学工作流无缝集成,使更广泛的数据科学社区能够使用持续质量监控。

英文摘要:

Data quality is fundamental to modern data science workflows, where data continuously flows as unbounded streams feeding critical downstream tasks, from elementary analytics to advanced artificial intelligence models. Existing data quality approaches either focus exclusively on static data or treat streaming as an extension of batch processing, lacking the temporal granularity and contextual awareness required for true streaming applications. In this paper, we present a novel data quality monitoring model specifically designed for unbounded data streams. Our model introduces stream-first concepts, such as configurable windowing mechanisms, dynamic constraint adaptation, and continuous assessment that produces quality meta-streams for real-time pipeline awareness. To demonstrate practical applicability, we developed Stream DaQ, an open-source Python framework that implements our theoretical model. Stream DaQ unifies and adapts over 30 quality checks fragmented across existing static tools into a comprehensive streaming suite, enabling practitioners to define sophisticated, context-aware quality constraints through compositional expressiveness. Our evaluation demonstrates that the model's implementation significantly outperforms a production-grade alternative in both execution time and throughput while offering richer functionality via native streaming capabilities compared to other choices. Through its Python-native design, Stream DaQ seamlessly integrates with modern data science workflows, making continuous quality monitoring accessible to the broader data science community.

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

↑