-
Notifications
You must be signed in to change notification settings - Fork 222
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
feat!: distinguishable scalar index types #2671
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2671 +/- ##
==========================================
- Coverage 79.65% 79.64% -0.02%
==========================================
Files 226 226
Lines 66245 66325 +80
Branches 66245 66325 +80
==========================================
+ Hits 52768 52824 +56
- Misses 10382 10398 +16
- Partials 3095 3103 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
rust/lance-index/src/lib.rs
Outdated
@@ -67,7 +67,14 @@ pub trait Index: Send + Sync + DeepSizeOf { | |||
#[derive(Debug, PartialEq, Eq, Copy, Hash, Clone, DeepSizeOf)] | |||
pub enum IndexType { | |||
// Preserve 0-100 for simple indices. | |||
Scalar = 0, | |||
Scalar = 0, // BTree |
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.
Can we add BTree and let Scalar still indicate BTree?
That could be more clear
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.
Ok, add one
6fd2f19
to
808300e
Compare
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.
Let's mark it breaking change, users may rely that Scalar before
Breaking Change
Different scalar index types are shown up differently from
list_indices()