Introducing Schema Inference as a Scalable SQL Function [Extended Version]
Calvin DaniShiva JahangiriTHThomas Hütter
Calvin Dani
Shiva Jahangiri
THThomas Hütter
+3
This paper presents schema inference as an on-demand SQL function integrated directly within a a DBMS, targeting NoSQL databases. Implemented in Apache AsterixDB, the function performs schema discovery in two phases—local inference and global schema merging—using internal resources. Experiments with real-world datasets show up to a two orders of magnitude performance boost over external methods like Apache Spark, improving usability and scalability.

arXiv ·
· November 20, 2024