-
Notifications
You must be signed in to change notification settings - Fork 409
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
Add filter pushdown for _id: <string>
for SQLite
#3599
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3599 +/- ##
==========================================
- Coverage 61.80% 61.25% -0.55%
==========================================
Files 426 426
Lines 27478 27476 -2
==========================================
- Hits 16982 16830 -152
- Misses 9501 9631 +130
- Partials 995 1015 +20
... and 18 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
@b1ron please test that one |
I am seeing an increase in performance by over two orders of magnitude. workloadc now completes in around 27s whereas before it just timed out. No string pushdown took 1298.4s to read 371 records, it now takes 10s. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Description
It is an ad-hoc filter for an important use-case that covers only the
_id
field because it can't be an array.Refs #3235.
Closes FerretDB/dance#625.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Milestone (Next
), Labels, Project and project's Sprint fields.