databend icon indicating copy to clipboard operation
databend copied to clipboard

Feature: Introduce `TopN` operator in new planner

Open leiysky opened this issue 2 years ago • 1 comments

For a query with both ORDER BY and LIMIT clauses, we can translate it into TopN operator, which can leverage with selection algorithm.

leiysky avatar Aug 06 '22 02:08 leiysky

also fixes: #6525

zhang2014 avatar Aug 06 '22 03:08 zhang2014