- Notifications
You must be signed in to change notification settings - Fork837
feat(query): add topn runtime filter in native storage format#9738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
vercelbot commentedJan 26, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The latest updates on your projects. Learn more aboutVercel for Git ↗︎ 1 Ignored Deployment
|
Uh oh!
There was an error while loading.Please reload this page.
BohuTANG commentedJan 27, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Good idea. |
sundy-li commentedJan 27, 2023
Unless we have prewhere and page index. |
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: BohuTANG <overred.shuttler@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
I hereby agree to the terms of the CLA available at:https://databend.rs/dev/policies/cla/
Summary
Summary about this PR
If we push down the sort + limit to storage level, we can have
TopNopt.But it must work with runtime predication (prewhere) + Page index optimization , so currently we only have it in native storage format.
Query
select * from hits_page where URL like '%google%' order by EventTime desc limit 10;can works 5 times faster.