Skip to content

Commit

Permalink
move blobl to scalar field
Browse files Browse the repository at this point in the history
  • Loading branch information
mzhl1111 committed Feb 16, 2024
1 parent 3a1aefb commit 45900bc
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions proto/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ message ScalarField {
BytesArray bytes_data = 7;
ArrayArray array_data = 8;
JSONArray json_data = 9;
BlobFile blob_data = 10;
}
}

Expand Down Expand Up @@ -162,22 +163,15 @@ message VectorField {
}
}

message ExtraField {
oneof data {
BlobFile blob_file = 1;
}
}

message FieldData {
DataType type = 1;
string field_name = 2;
oneof field {
ScalarField scalars = 3;
VectorField vectors = 4;
ExtraField extras = 5;
}
int64 field_id = 6;
bool is_dynamic = 7;
int64 field_id = 5;
bool is_dynamic = 6;
}

message IDs {
Expand Down

0 comments on commit 45900bc

Please sign in to comment.