Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
BohuTANG merged 10 commits intodatabendlabs:mainfromsundy-li:topn
Jan 27, 2023

Conversation

@sundy-li
Copy link
Member

@sundy-lisundy-li commentedJan 26, 2023
edited
Loading

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 haveTopN opt.

But it must work with runtime predication (prewhere) + Page index optimization , so currently we only have it in native storage format.

Queryselect * from hits_page where URL like '%google%' order by EventTime desc limit 10; can works 5 times faster.

wubx and RinChanNOWWW reacted with rocket emoji
@vercel
Copy link

vercelbot commentedJan 26, 2023
edited
Loading

The latest updates on your projects. Learn more aboutVercel for Git ↗︎

1 Ignored Deployment
NameStatusPreviewCommentsUpdated
databend⬜️ Ignored (Inspect)Jan 27, 2023 at 6:54AM (UTC)

@mergifymergifybot added the pr-featurethis PR introduces a new feature to the codebase labelJan 26, 2023
@BohuTANG
Copy link
Member

BohuTANG commentedJan 27, 2023
edited
Loading

Good idea.
Can we useOrderBy(min-max)+ Limit in reading fuse block data to reduce the block size?

@sundy-li
Copy link
MemberAuthor

Good idea. Can we useOrderBy(min-max)+ Limit in reading fuse block data to reduce the block size?

Unless we have prewhere and page index.

BohuTANG reacted with thumbs up emoji

@sundy-lisundy-li marked this pull request as ready for reviewJanuary 27, 2023 03:24
Co-authored-by: BohuTANG <overred.shuttler@gmail.com>
@BohuTANGBohuTANG merged commit3ea04f2 intodatabendlabs:mainJan 27, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@BohuTANGBohuTANGBohuTANG approved these changes

@zhang2014zhang2014Awaiting requested review from zhang2014

@RinChanNOWWWRinChanNOWWWAwaiting requested review from RinChanNOWWW

Assignees

No one assigned

Labels

pr-featurethis PR introduces a new feature to the codebase

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@sundy-li@BohuTANG

[8]ページ先頭

©2009-2025 Movatter.jp