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

[Issue #105]: fix endless execution for select count(*). #106

Merged
merged 4 commits into from
May 4, 2021

Conversation

bianhq
Copy link
Contributor

@bianhq bianhq commented May 4, 2021

Fix the endless execution of select count(*) from t and queries with predicate '=null' (although such predicate is meaningless).

Query with '=null' predicate will return 0 rows in Presto, while the number of scanned rows is the same as result of select count(*) from t, which is the total number of rows in t.

select count(*) from t will only touch the file footers.

@bianhq bianhq added the bug Something isn't working label May 4, 2021
@bianhq bianhq self-assigned this May 4, 2021
@bianhq bianhq merged commit de1ab26 into pixelsdb:master May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant