Auto-Tables: Synthesizing Multi-Step Transformations to Relationalize Tables without Using Examples
Authors:
Open Access
- 1 July 2023
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 16 (11) , 3391-3403
Abstract
Relational tables, where each row corresponds to an entity and each column corresponds to an attribute, have been the standard for tables in relational databases. However, such a standard cannot be taken for granted when dealing with tables "in the wild". Our survey of real spreadsheet-tables and web-tables shows that over 30% of such tables do not conform to the relational standard, for which complex table-restructuring transformations are needed before these tables can be queried easily using SQL-based tools. Unfortunately, the required transformations are non-trivial to program, which has become a substantial pain point for technical and non-technical users alike, as evidenced by large numbers of forum questions in places like StackOverflow and Excel/Tableau forums. We develop an Auto-Tables system that can automatically synthesize pipelines with multi-step transformations (in Python or other languages), to transform non-relational tables into standard relational forms for downstream analytics, obviating the need for users to manually program transformations. We compile an extensive benchmark for this new task, by collecting 244 real test cases from user spreadsheets and online forums. Our evaluation suggests that Auto-Tables can successfully synthesize transformations for over 70% of test cases at interactive speeds, without requiring any input from users, making this an effective tool for both technical and non-technical users to prepare data for analytics.Keywords
All Related Versions
This publication has 22 references indexed in Scilit:
- Synthesizing highly expressive SQL queries from input-output examplesACM SIGPLAN Notices, 2017
- Auto-joinProceedings of the VLDB Endowment, 2017
- ImageNet classification with deep convolutional neural networksCommunications of the ACM, 2017
- Foofah2017
- Deep Residual Learning for Image Recognition2016
- FlashRelate: extracting relational data from semi-structured spreadsheets using examplesACM SIGPLAN Notices, 2015
- Automatically synthesizing SQL queries from input-output examples2013
- Spreadsheet data manipulation using examplesCommunications of the ACM, 2012
- Query by output2009
- A simple guide to five normal forms in relational database theoryCommunications of the ACM, 1983