Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions proto/milvus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ service MilvusService {
rpc DescribeDatabase(DescribeDatabaseRequest) returns (DescribeDatabaseResponse) {}

rpc ReplicateMessage(ReplicateMessageRequest) returns (ReplicateMessageResponse) {}

rpc UpdateBlobBucketInfo(UpdateBlobBucketAkSkRequest) returns (common.Status) {}
}

message CreateAliasRequest {
Expand Down Expand Up @@ -1871,6 +1873,12 @@ message ReplicateMessageResponse {
string position = 2;
}

message UpdateBlobBucketAkSkRequest {
common.MsgBase base = 1;
string bucket = 2;
string auth_key = 3;
}

message ImportAuthPlaceholder {
option (common.privilege_ext_obj) = {
object_type: Collection
Expand Down
8 changes: 8 additions & 0 deletions proto/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ message ArrayArray {

message JSONArray { repeated bytes data = 1; }

message BlobRefFile {
string bucket = 1;
string source_uri = 2;
}

message BlobRefFileArray {repeated BlobRefFile data = 1;}

message ValueField {
oneof data {
bool bool_data = 1;
Expand All @@ -125,6 +132,7 @@ message ScalarField {
BytesArray bytes_data = 7;
ArrayArray array_data = 8;
JSONArray json_data = 9;
BlobRefFileArray blob_data = 10;
}
}

Expand Down