-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
universal-query: Introduce new RawVector
and VectorInput
messages
#4209
Conversation
8509242
to
48df0f8
Compare
8de9f77
to
a0ddb6e
Compare
lib/api/src/grpc/proto/points.proto
Outdated
|
||
message SparseVector { | ||
repeated float data = 1; | ||
optional SparseIndices indices = 2; |
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.
not optional maybe?
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.
resolved :)
a0ddb6e
to
9afc305
Compare
@@ -46,12 +46,36 @@ message SparseIndices { | |||
repeated uint32 data = 1; | |||
} | |||
|
|||
// Legacy vector format, which determines the vector type by the configuration of its fields. |
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.
Legacy
is always the system that pays the bills 👴
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.
I've noticed that this PR pushed a binary into the repo. Is this something useful or an accident?
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.
Noticed, because I somehow also had this file on disk (but not checked into the repo) and git pull
complained that this file will be overridden.
I guess, the fact that I already had this file on my machine, means it was produced (by build scripts?) at some point?
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.
Very good catch 👍
Let's nuke it, no idea where it comes from TBH
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.
…#4209) * Introduce `RawVector` and `VectorInput` messages * gen grpc docs * remove extra `optional` * gen grpc docs
Needs #4198
Future-proofs the grpc query vector type to allow any shape of vector.
RawVector
: Only bare vector shapesVectorInput
: Can include point idsAll Submissions:
dev
branch. Did you create your branch fromdev
?New Feature Submissions:
cargo +nightly fmt --all
command prior to submission?cargo clippy --all --all-features
command?