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

fix(driver): don't call wake_by_ref in Poll::Pending #350

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

sundy-li
Copy link
Member

@sundy-li sundy-li commented Feb 2, 2024

Now execute sql:

echo "SELECT number, NTH_VALUE(number, 2) OVER (ORDER BY score DESC) FROM (select number::string number , number % 100 as score from numbers(300000000) ) ignore_result;" | bendsql

The CPU load just takes 0.1% instead of 100%.

@sundy-li sundy-li requested review from everpcpc and Xuanwo February 2, 2024 03:54
@everpcpc everpcpc merged commit 2004b52 into databendlabs:main Feb 2, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants