Jackie-Jiang commented on issue #6970: URL: https://github.com/apache/pinot/issues/6970#issuecomment-1040735740
Discussed with @jt-kloudfuse offline. In order to optimize the DESC order query on sorted column, we need to support scanning the records in reverse order. That can be done by adding a `reverseIterator()` API into the `BlockDocIdSet` and implements it for all the `FilterBlockDocIdSet`. Then we can optimize the `SelectionOrderByOperator` (or add a new operator for sorted column) to early terminate when enough records are collected -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
