-
Notifications
You must be signed in to change notification settings - Fork 59
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 blob file type in schema.proto #241
base: master
Are you sure you want to change the base?
Add blob file type in schema.proto #241
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mzhl1111 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 |
Welcome @mzhl1111! It looks like this is your first PR to milvus-io/milvus-proto 🎉 |
187106e
to
28dc941
Compare
f3ec612
to
3a1aefb
Compare
proto/schema.proto
Outdated
message FieldData { | ||
DataType type = 1; | ||
string field_name = 2; | ||
oneof field { | ||
ScalarField scalars = 3; | ||
VectorField vectors = 4; | ||
ExtraField extras = 5; |
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.
we can not change the order of proto files due to compatibility issues.
blobs could be also a scalar datatype?
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.
Sure.
proto/schema.proto
Outdated
@@ -65,6 +67,8 @@ message FieldSchema { | |||
bool is_dynamic = 12; // mark whether this field is the dynamic field | |||
bool is_partition_key = 13; // enable logic partitions | |||
bool is_clustering_key = 14; | |||
|
|||
bool is_blob_saved = 15; // for blob type, mark if the blob is saved |
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.
what does this is_blob_saved mean?
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.
To mark if the blob file is stored in s3 or not.
45900bc
to
b0f941f
Compare
6364bcf
to
5f0d8f6
Compare
f23b5a1
to
abbe5bb
Compare
hi @mzhl1111, Would you mind if we can have a quick sync on this pr? The major concern I has:
The most important for this pr is:
With this pr, we can store image and doc chunk into S3 so we can save great amount of memory (And maybe network traffic). For user experience, there are no specific rpc |
abbe5bb
to
5b23feb
Compare
5b23feb
to
45520d7
Compare
Signed-off-by: muzhouliu <sllzhlv77@gmail.com>
Signed-off-by: muzhouliu <sllzhlv77@gmail.com>
4f9614f
to
e934264
Compare
Signed-off-by: muzhouliu <sllzhlv77@gmail.com>
9463551
to
2f7de84
Compare
Related Issue milvus-io/milvus#27578