JSON数据上嵌套重复的快速发现
Fast Discovery of Nested Dependencies on JSON Data
摘要:
函数依赖和包含依赖是数据分析中使用最广泛的数据依赖类别,因为它们能够识别数据中的关系,例如主键和外键。在处理JSON等嵌套数据格式时,这些关系同样重要。然而,函数依赖和包含依赖的定义利用了平面的、非嵌套的关系模型,这错过了涉及嵌套数据模型的对数据的许多有用的依赖类型。在这项工作中,我们确定了传统的功能和包含依赖关系没有捕获的依赖关系类型,但仍然捕获嵌套数据之间有意义的关系。我们还演示了如何挖掘这些传统的依赖关系的算法也可以适用于挖掘嵌套的依赖关系。第一种策略简单地将输入数据转换为未修改的现有算法。我们提出了第二种策略,该策略将算法调整为有效地处理JSON数据作为输入,在某些情况下,这会导致实际数据集的运行时间减少多个数量级。我们进一步展示了如何调整这些算法,以产生有用的结果,在存在一定比例的不完整或无效的数据。
英文摘要:
Functional and inclusion dependencies are the most widely used classes of data dependencies in data profiling due to their ability to identify relationships in data such as primary and foreign keys. These relationships are equally important when dealing with nested data formats such as JSON. However, the definition of functional and inclusion dependencies makes use of a flat, unnested relational model which misses many useful types of dependencies on data which involve nested data models. In this work, we identify types of dependencies which are not captured by traditional functional and inclusion dependencies but which nevertheless capture meaningful relationships among nested data. We also demonstrate how algorithms for mining these traditional dependencies can be adapted to also mine nested dependencies. The first strategy simply flattens the input data and feeds into unmodified existing algorithms. We present a second strategy which instead adapts the algorithm to efficiently process JSON data as input which in some cases leads to a reduction in runtime by multiple orders of magnitude on real-world datasets. We further show how these algorithms can be adapted to produce useful results in the presence of a percentage of incomplete or invalid data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。