-
Notifications
You must be signed in to change notification settings - Fork 3.5k
feat: impl StructArray -- support diskann index #45223
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
base: master
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: SpadeA-Tang The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
[ci-v2-notice]
To rerun ci-v2 checks, comment with:
If you have any questions or requests, please contact @zhikunyao. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #45223 +/- ##
==========================================
- Coverage 76.91% 76.82% -0.09%
==========================================
Files 1844 1844
Lines 287704 287797 +93
==========================================
- Hits 221280 221096 -184
- Misses 59216 59475 +259
- Partials 7208 7226 +18
🚀 New features to boost your workflow:
|
| local_data_path, write_offset, &dim, sizeof(dim)); | ||
|
|
||
| // Write offsets file for VECTOR_ARRAY | ||
| if (is_vector_array && offsets.size() > 1) { |
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.
should we handle the error case of is_vector_array && offsets.size() == 1? is it possible for this to happen?
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.
offsets size equals to num_rows + 1, so it should not happen
|
|
||
| auto segment_id = file_manager_->GetFieldDataMeta().segment_id; | ||
| auto local_data_path = file_manager_->CacheRawDataToDisk<T>(config); | ||
| auto field_id = file_manager_->GetFieldDataMeta().field_id; |
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.
please add some unit tests
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.
Opensource knowhere is not supported for this. I have tested end-to-end with cardinal, and can run normally.
Signed-off-by: SpadeA-Tang <tangchenjie1210@gmail.com>
830b625 to
f64e435
Compare
113428e to
9378a7f
Compare
issue: #42148