TY - GEN
T1 - Characterizing and Verifying Queries Via CINSGEN
AU - Meng, Hanze
AU - Miao, Zhengjie
AU - Gilad, Amir
AU - Roy, Sudeepa
AU - Yang, Jun
N1 - Publisher Copyright: © 2023 ACM.
PY - 2023/6/4
Y1 - 2023/6/4
N2 - Example database instances can be very helpful in understanding complex queries. Different examples may illustrate alternative situations in which answers emerge in the query results and can be useful for testing. Examples can also help reveal semantic differences between queries that are supposed to be equivalent, e.g., when students try to understand how their queries behave differently from a reference solution, or when programmers try to pinpoint mistakes inadvertently introduced by rewrites meant to improve readability or performance. In this paper, we propose to demonstrate CinsGen, a system that can characterize queries and help distinguish between two queries. Given a query, CinsGen generates minimal conditional instances (c-instances) that satisfy it. In turn, each c-instance is a generalization of multiple database instances, yielding a compact representation. Thus, using CinsGen enables users to obtain a comprehensive and compact view of all scenarios that satisfy a specified query, allowing for query characterization or distinction between two queries.
AB - Example database instances can be very helpful in understanding complex queries. Different examples may illustrate alternative situations in which answers emerge in the query results and can be useful for testing. Examples can also help reveal semantic differences between queries that are supposed to be equivalent, e.g., when students try to understand how their queries behave differently from a reference solution, or when programmers try to pinpoint mistakes inadvertently introduced by rewrites meant to improve readability or performance. In this paper, we propose to demonstrate CinsGen, a system that can characterize queries and help distinguish between two queries. Given a query, CinsGen generates minimal conditional instances (c-instances) that satisfy it. In turn, each c-instance is a generalization of multiple database instances, yielding a compact representation. Thus, using CinsGen enables users to obtain a comprehensive and compact view of all scenarios that satisfy a specified query, allowing for query characterization or distinction between two queries.
KW - database usability
KW - incomplete database
UR - http://www.scopus.com/inward/record.url?scp=85162911067&partnerID=8YFLogxK
U2 - https://doi.org/10.1145/3555041.3589721
DO - https://doi.org/10.1145/3555041.3589721
M3 - منشور من مؤتمر
T3 - Proceedings of the ACM SIGMOD International Conference on Management of Data
SP - 143
EP - 146
BT - SIGMOD 2023 - Companion of the 2023 ACM/SIGMOD International Conference on Management of Data
T2 - 2023 ACM/SIGMOD International Conference on Management of Data, SIGMOD 2023
Y2 - 18 June 2023 through 23 June 2023
ER -