-
Notifications
You must be signed in to change notification settings - Fork 411
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
vector: refine vector search #9709
Conversation
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
7c8ce4c
to
4222929
Compare
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Some small comments Lloyd-Pottiger#20 |
* Add comments Signed-off-by: JaySon-Huang <tshent@qq.com> * Refine some codes Signed-off-by: JaySon-Huang <tshent@qq.com> --------- Signed-off-by: JaySon-Huang <tshent@qq.com>
dbms/src/Storages/DeltaMerge/File/DMFileWithVectorIndexBlockInputStream.cpp
Outdated
Show resolved
Hide resolved
dbms/src/Storages/DeltaMerge/File/DMFileWithVectorIndexBlockInputStream.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
d6e13fc
to
370657d
Compare
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
dbms/src/Storages/DeltaMerge/File/DMFileWithVectorIndexBlockInputStream.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: JaySon-Huang <tshent@qq.com>
I'd like to keep the interface like this Lloyd-Pottiger#21 . This give us a picture that we organize the read by But I'm OK with the current status. Rest LGTM |
Signed-off-by: JaySon-Huang <tshent@qq.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JaySon-Huang, JinheLin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
What problem does this PR solve?
Issue Number: ref #9032
Problem Summary:
What is changed and how it works?
Before, we read selected vector rows from the vector index and use default to replace other rows, and then do bitmap filtering to filter out other rows.
Now, we
XXXVectorIndexReader
only return selected rows, and only do bitmap filtering for files without the vector index.Also:
lm_skip_rows
in ScanContext.Check List
Tests
Side effects
Documentation
Release note