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

Milvus protocol API for geospatial data type #333

Merged
merged 2 commits into from
Oct 30, 2024
Merged
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
435 changes: 261 additions & 174 deletions go-api/schemapb/schema.pb.go
4 changes: 4 additions & 0 deletions proto/schema.proto
Original file line number Diff line number Diff line change
@@ -31,6 +31,7 @@ enum DataType {
VarChar = 21; // variable-length strings with a specified maximum length
Array = 22;
JSON = 23;
Geometry = 24;

BinaryVector = 100;
FloatVector = 101;
@@ -122,6 +123,8 @@ message ArrayArray {

message JSONArray { repeated bytes data = 1; }

message GeometryArray { repeated bytes data = 1; }

message ValueField {
oneof data {
bool bool_data = 1;
@@ -145,6 +148,7 @@ message ScalarField {
BytesArray bytes_data = 7;
ArrayArray array_data = 8;
JSONArray json_data = 9;
GeometryArray geometry_data = 10;
}
}