State University of New York at Buffalo
Tabularizing Large Scale Semi-Structured Data
Abstract
dc:description.abstractData workflows now more than ever, consist of fusing various sources, implementations, and formats, in a process known as data federation. Numerous popular database services provide a SQL interface for issuing queries against foreign tables and types, as SQL continues to be the most popular human-data interface. The column and row structure at SQL's core, while great for querying tabular data such as database tables and CSV files. Becomes less manageable when dealing with hierarchal or sparse data, common to semi-structured data like JSON. For example, querying JSON with SQL, even with native type support, requires the use of inefficient and specialized functions. Users would much rather import their JSON data as a shredded native table, simplifying queries, enabling SQL reuse, and improving performance. Unfortunately, JSON has many incompatibilities when shredding tabularly, such as arrays of objects, heterogeneous datasets, embedded key-value tables, and multi-typed columns to name a few. This dissertation first investigates the feasibility of previously proposed automatic truth finding solutions. Evaluating both performance and quality of output with the goal of materializing a quasi-relational schema. Prior related schema generating work using similarity matching such as functional dependency and clustering, we found diverges significantly from ground truth. Second, we outline a probabilistic approach to incorporate user feedback and view sharing during data exploration. Enabling multi-user collaboration and definition of localized views to narrow search space. Third, we propose and experimentally verify a novel clustering algorithm to specifically target JSON data, taking advantage of attribute occurrence. We compare state-of-the-art schema extractors against our novel clustering algorithm, and show magnitudes improvement reducing schema search space. Unfortunately the number of datasets with known ground truth is limited. To address this we, quantify human infer-ability for datasets with unknown ground truth, we devised three metrics, precision, recall, and grouping, measuring specificity, validity, and conciseness respectfully. Finally, we leverage our algorithm to generate partition schema candidates, enabling RDBMS tabular import for datasets that could otherwise not. Greatly improving query performance through partition elimination optimizations, automating a vital error prone process.
Degree
thesis:*- Grantor dc:publisher
- State University of New York at Buffalo
- Year dc:date.issued
- 2022
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Spoth, William; 0000-0002-4307-4582
- Contributors dc:contributor
-
- Kennedy, Oliver
- Computer Science and Engineering
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions.
- Language dc:language
- eng
Identifiers
dc:identifier.*- Handle dc:identifier
- https://hdl.handle.net/10477/88105