Lune

VLDB2026Top-tier venue

Efficient Query Repair for Aggregate Constraints

Shatha Algarni, Boris Glavic, Seokki Lee, Adriane Chapman

Abstract

In many real-world scenarios, query results must satisfy domain-specific constraints. For instance, a minimum percentage of interview candidates selected based on their qualifications should be female. These requirements can be expressed as constraints over an arithmetic combination of aggregates evaluated on the result of the query. In this work, we study how to repair a query to fulfill such constraints by modifying the filter predicates of the query. We introduce a novel query repair technique that leverages bounds on sets of candidate solutions and interval arithmetic to efficiently prune the search space. We demonstrate experimentally, that our technique significantly outperforms baselines that consider a single candidate at a time.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Query Refinement for Diversity Constraint Satisfaction cites Fairness-Aware Range Queries for Selecting Unbiased Data
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on4

  1. Fairness-Aware Range Queries for Selecting Unbiased DataSuraj Shetiya, Ian P. Swift, Abolfazl Asudeh, Gautam DasICDE 2022 · 19 citations
  2. Query Refinement for Diversity Constraint SatisfactionJinyang Li, Yuval Moskovitch, Julia Stoyanovich, H. V. JagadishVLDB 2024 · 16 citations
  3. To Not Miss the Forest for the Trees - A Holistic Approach for Explaining Missing Answers over Nested DataRalf Diestelkämper, Seokki Lee, Melanie Herschel, Boris GlavicSIGMOD 2021 · 15 citations
  4. Efficient Uncertainty Tracking for Complex Queries with Attribute-level BoundsSu Feng, Boris Glavic, Aaron Huber, Oliver A. KennedySIGMOD 2021 · 13 citations

Related papers

  1. Consistent Answers of Aggregation Queries via SATAkhil A. Dixit, Phokion G. KolaitisICDE 2022 · 2 citations
  2. Cleaning both Data Errors and Inaccurate Constraints on Numerical Sequential DataXiaoou Ding, Muyun Zhou, Yida Liu, Chen Wang et al.VLDB 2025
  3. Improving Constrained Search Results By Data MeliorationIdo Guy, Tova Milo, Slava Novgorodov, Brit YoungmannICDE 2021 · 2 citations
  4. Threshold Queries in Theory and in the WildAngela Bonifati, Stefania Dumbrava, George Fletcher, Jan Hidders et al.VLDB 2022 · 19 citations
  5. Time Series Data ValidityYunxiang Su, Yikun Gong, Shaoxu SongSIGMOD 2023 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines