To Not Miss the Forest for the Trees - A Holistic Approach for Explaining Missing Answers over Nested Data
Ralf Diestelkämper, Seokki Lee, Melanie Herschel, Boris Glavic
Abstract
Query-based explanations for missing answers identify which operators of a query are responsible for the failure to return a missing answer of interest. This type of explanations has proven to be useful in a variety of contexts including debugging of complex analytical queries. Such queries are frequent in big data systems such as Apache Spark. We present a novel approach for producing querybased explanations. Our approach is the first to support nested data and to consider operators that modify the schema and structure of the data (e.g., nesting and projections) as potential causes of missing answers. To efficiently compute explanations, we propose a heuristic algorithm that applies two novel techniques: (i) reasoning about multiple schema alternatives for a query and (ii) re-validating at each step whether an intermediate result can contribute to the missing answer. Using an implementation of our approach on Spark, we demonstrate that it is the first to scale to large datasets and that it often finds explanations that existing techniques fail to identify.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers3
- Erebus: Explaining the Outputs of Data Streaming QueriesDimitris Palyvos-Giannas, Katerina Tzompanaki, Marina Papatriantafilou, Vincenzo GulisanoVLDB 2023 · 21 citations
- Why Not Yet: Fixing a Top-k Ranking that Is Not Fair to IndividualsZixuan Chen, Panagiotis Manolios, Mirek RiedewaldVLDB 2023 · 17 citations
- Efficient Query Repair for Aggregate ConstraintsShatha Algarni, Boris Glavic, Seokki Lee, Adriane ChapmanVLDB 2026
Related papers
- Explaining Missing Data in Graphs: A Constraint-based ApproachQi Song, Peng Lin, Hanchao Ma, Yinghui WuICDE 2021 · 7 citations
- Automated Translation of Functional Big Data Queries to SQLGuoqiang Zhang, Benjamin Mariano, Xipeng Shen, Isil DilligOOPSLA 2023 · 5 citations
- On Explaining Confounding BiasBrit Youngmann, Michael J. Cafarella, Yuval Moskovitch, Babak SalimiICDE 2023 · 7 citations
- Putting Things into Context: Rich Explanations for Query Answers using Join GraphsChenjie Li, Zhengjie Miao, Qitian Zeng, Boris Glavic et al.SIGMOD 2021 · 16 citations
- QEVIS: Multi-Grained Visualization of Distributed Query ExecutionQiaomu Shen, Zhengxin You, Xiao Yan, Chaozu Zhang et al.IEEE VIS 2023 · 5 citations
