Synthesizing analytical SQL queries from computation demonstration
Synthesizing analytical SQL queries from computation demonstration
复制标题
从计算演示中综合分析 SQL 查询
DOI:
10.1145/3519939.3523712
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
Wang, Chenglong
中科院分区:
文献类型:
--
作者:
Zhou, Xiangyu;Bodik, Rastislav;Cheung, Alvin;Wang, Chenglong
Analytical SQL is widely used in modern database applications and data analysis. However, its partitioning and grouping operators are challenging for novice users. Unfortunately, programming by example, shown effective on standard SQL, are less attractive because examples for analytical queries are more laborious to solve by hand.To make demonstrations easier to author, we designed a new end-user specification, programming by computation demonstration, that allows the user to demonstrate the task using a (possibly incomplete) cell-level computation trace. This specification is exploited in a new abstraction-based synthesis algorithm to prove that a partially formed query cannot be completed to satisfy the specification, allowing us to prune the search tree.We implemented our approach in a tool named Sickle and tested it on 80 real-world analytical SQL tasks. Results show that even from small demonstrations, Sickle can solve 76 tasks, in 12.8 seconds on average, while the prior approaches can solve only 60 tasks and are on average 22.5 times slower. Furthermore, our user study with 13 participants reveals that our specification increases user efficiency and confidence on challenging tasks.
登录
查看更多内容
影响因子:
--
作者:
Mukund Raghothaman;Jonathan Mendelson;David Zhao;M. Naik;Bernhard Scholz
通讯作者:
Bernhard Scholz
影响因子:
--
作者:
Xinyu Wang;Işıl Dillig;Rishabh Singh
通讯作者:
Xinyu Wang;Işıl Dillig;Rishabh Singh
影响因子:
--
作者:
Yu Feng;R. Martins;O. Bastani;Işıl Dillig
通讯作者:
Yu Feng;R. Martins;O. Bastani;Işıl Dillig
影响因子:
--
作者:
Xinyu Wang;Işıl Dillig;Rishabh Singh
通讯作者:
Rishabh Singh
DOI:
10.24963/ijcai.2017/227
发表时间:
2017
期刊:
Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering
影响因子:
--
作者:
Kevin Ellis;Sumit Gulwani
通讯作者:
Sumit Gulwani