Synthesizing Analytical SQL Queries from Computation DemonstrationDistinguished Paper Award
Thu 16 Jun 2022 01:50 - 02:10 at Kon-Tiki - Synthesis I
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.
Wed 15 JunDisplayed time zone: Pacific Time (US & Canada) change
13:30 - 14:50 | |||
13:30 20mTalk | WebRobot: Web Robotic Process Automation using Interactive Programming-by-Demonstration PLDI Rui Dong University of Michigan, Zhicheng Huang University of Michigan, Ian Iong Lam University of Michigan, Yan Chen University of Michigan, Xinyu Wang University of Michigan DOI Pre-print | ||
13:50 20mTalk | Synthesizing Analytical SQL Queries from Computation DemonstrationDistinguished Paper Award PLDI Xiangyu Zhou University of Washington, Rastislav Bodík University of Washington, Alvin Cheung University of California, Berkeley, Chenglong Wang University of Washington, USA DOI | ||
14:10 20mTalk | Type-Directed Program Synthesis for RESTful APIs PLDI Zheng Guo University of California, San Diego, David Cao University of California, San Diego, Davin Tjong University of California, San Diego, Jean Yang Akita Software, Cole Schlesinger Akita Software, Nadia Polikarpova University of California at San Diego DOI | ||
14:30 20mTalk | Visualization Question Answering Using Introspective Program SynthesisDistinguished Paper Award PLDI Yanju Chen University of California, Santa Barbara, Xifeng Yan University of California, Santa Barbara, Yu Feng University of California, Santa Barbara DOI |
Thu 16 JunDisplayed time zone: Pacific Time (US & Canada) change
01:30 - 02:50 | |||
01:30 20mTalk | WebRobot: Web Robotic Process Automation using Interactive Programming-by-Demonstration PLDI Rui Dong University of Michigan, Zhicheng Huang University of Michigan, Ian Iong Lam University of Michigan, Yan Chen University of Michigan, Xinyu Wang University of Michigan DOI Pre-print | ||
01:50 20mTalk | Synthesizing Analytical SQL Queries from Computation DemonstrationDistinguished Paper Award PLDI Xiangyu Zhou University of Washington, Rastislav Bodík University of Washington, Alvin Cheung University of California, Berkeley, Chenglong Wang University of Washington, USA DOI | ||
02:10 20mTalk | Type-Directed Program Synthesis for RESTful APIs PLDI Zheng Guo University of California, San Diego, David Cao University of California, San Diego, Davin Tjong University of California, San Diego, Jean Yang Akita Software, Cole Schlesinger Akita Software, Nadia Polikarpova University of California at San Diego DOI | ||
02:30 20mTalk | Visualization Question Answering Using Introspective Program SynthesisDistinguished Paper Award PLDI Yanju Chen University of California, Santa Barbara, Xifeng Yan University of California, Santa Barbara, Yu Feng University of California, Santa Barbara DOI |