Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit query is slow #997

Closed
Tracked by #924
ShiKaiWi opened this issue Jun 16, 2023 · 1 comment
Closed
Tracked by #924

Limit query is slow #997

ShiKaiWi opened this issue Jun 16, 2023 · 1 comment
Labels
A-query-engine Area: Query engine feature New feature or request

Comments

@ShiKaiWi
Copy link
Member

Describe This Problem

In most cases, limit query is expected to be very fast. However, when there are too many segments, it will be very slow even if the query is limit by 1.

Proposal

Make it run as fast as possible for limit query.

Additional Context

No response

@ShiKaiWi ShiKaiWi added the feature New feature or request label Jun 16, 2023
@jiacai2050
Copy link
Contributor

In most cases, limit query is expected to be very fast.

I think you are meaning query without group by and order by.

For this to work, our executor should support pass result in a streaming way, which is what we have now, so this should be improved without too much work.

@jiacai2050 jiacai2050 added A-analytic-engine Area: Analytic Engine A-query-engine Area: Query engine and removed A-analytic-engine Area: Analytic Engine labels Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-query-engine Area: Query engine feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants