pinot icon indicating copy to clipboard operation
pinot copied to clipboard

Short circuit queries where no rows will be returned

Open yashmayya opened this issue 1 year ago • 1 comments

  • There are numerous types of queries where it is guaranteed that no rows will be returned. For instance - selection only queries with LIMIT 0, group by aggregation queries with LIMIT 0, queries with a filter predicate that is always false, queries where there are 0 segments left after segment pruning etc.
  • Ideally, all these cases should be short circuited (i.e., no actual query execution should occur) and we should only return the data schema. This is currently done for some, but not all the cases.
  • See https://github.com/apache/pinot/pull/13555#issuecomment-2214679736 for more details.

yashmayya avatar Jul 09 '24 06:07 yashmayya

Can I take it?

mghildiy avatar Sep 27 '24 04:09 mghildiy