Schema inference is now a native SQL aggregate in Apache AsterixDB, using local schema trees and global merging, and benchmarks show speedups of up to two orders of magnitude over Spark-based tools.
JSONoid: Monoid-based Enrichment for Configurable and Scalable Data-Driven Schema Discovery
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
Schema discovery is an important aspect to working with data in formats such as JSON. Unlike relational databases, JSON data sets often do not have associated structural information. Consumers of such datasets are often left to browse through data in an attempt to observe commonalities in structure across documents to construct suitable code for data processing. However, this process is time-consuming and error-prone. Existing distributed approaches to mining schemas present a significant usability advantage as they provide useful metadata for large data sources. However, depending on the data source, ad hoc queries for estimating other properties to help with crafting an efficient data pipeline can be expensive. We propose JSONoid, a distributed schema discovery process augmented with additional metadata in the form of monoid data structures that are easily maintainable in a distributed setting. JSONoid subsumes several existing approaches to distributed schema discovery with similar performance. Our approach also adds significant useful additional information about data values to discovered schemas with linear scalability.
fields
cs.DB 1years
2024 1verdicts
CONDITIONAL 1representative citing papers
citing papers explorer
-
Introducing Schema Inference as a Scalable SQL Function [Extended Version]
Schema inference is now a native SQL aggregate in Apache AsterixDB, using local schema trees and global merging, and benchmarks show speedups of up to two orders of magnitude over Spark-based tools.