About Me

I am Yicun Yang, a Ph.D. student at the Institute of Parallel and Distributed Systems (IPADS), Shanghai Jiao Tong University. Currently, my advisor is Prof. Zhaoguo Wang and my research interest lies in SQL query processing and optimization in database systems, with the application of formal verification, LLMs, etc.

Projects

SQLDriller

SQLDriller is a tool for automatically detecting and fixing Text-to-SQL error translations. It aims to improve existing Text-to-SQL datasets quality and thus improve Text-to-SQL model accuracy (by up to 13.6% for SOTA models). It is the first one to introduce the correctness condition of Text-to-SQL translations, namely Execution Consistency. Leveraging Execution Consistency, it then integrates techniques of SQL equivalence verification and LLM inference to complete Text-to-SQL error detection and fixing.

pdf: soonly public | source code: soonly public()

SQLSolver

SQLSolver is an automated SQL equivalence solver based on SMT solver and Linear Integer Arithmetic Theory. Compared to existing SQL equivalence solvers, it supports more SQL features, guaranteeing a stronger verification capability. In our evaluation, SQLSolver can verify the equivalence of all 232 query pairs from the Calcite test suite, while only 121 of them can be proved by prior provers. In this project, I contributed to the implementation of SQL query to logical formula translation, and the evaluation on Calcite test suite.

pdf | source code | online demo

WeTune

WeTune is a tool for automatically discovering SQL query rewrite rules and verifying their correctness. Inspired by compiler superoptimization, it enumerates all valid logical query plans and discovers equivalent plans that could potentially lead to more efficient SQL rewrites. It also proposes a new SMT-based solver to solve the equivalence of a query pair under different constraints. WeTune successfully optimizes 247 queries from 20 open-sourced application on Github that existing databases cannot optimize, resulting in substantial performance improvements. In this project, I contributed to the design and implementation of rule enumeration and SQL query rewriting, along with the evaluation on the performance of rewritten SQL queries.

pdf | extended version | source code

WeRewriter

WeRewriter is an online query rewriting system demo based on the rules automatically discovered by WeTune. WeRewriter can generate equivalent but potentially more efficient SQL queries given the input query and present the used query rewrite rules when rewriting.

online demo

Education

  • 2023.04 - now, transfer to Ph.D., School of Software Engineering, Shanghai Jiao Tong University, Advisor: Zhaoguo Wang
  • 2021.09 - 2023.03, M.S., School of Software Engineering, Shanghai Jiao Tong University, Advisor: Zhaoguo Wang
  • 2017.09 - 2021.06, B.S., School of Software Engineering, Nanjing University

Contact

Email: yangyicun027@gmail.com or yangyicun@sjtu.edu.cn