You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/07/26 02:43:21 UTC

[GitHub] [doris] xiaokang commented on pull request #10694: optimize topn query if order by columns is prefix of sort keys of table

xiaokang commented on PR #10694:
URL: https://github.com/apache/doris/pull/10694#issuecomment-1194928145

   we test in a log matching senario, runtime of the following SQL drops significantly from **1.8s to 0.1s** 
   
   `SELECT * FROM log_table WHERE timestamp > t1 ORDER BY timestamp DESC LIMIT 100` 


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org