From 7caeb79a08430a6a45892ab47b51355c0315fc1b Mon Sep 17 00:00:00 2001 From: muzhouliu Date: Fri, 16 Feb 2024 11:22:38 -0800 Subject: [PATCH] move blobl to scalar field Signed-off-by: muzhouliu --- proto/schema.proto | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/proto/schema.proto b/proto/schema.proto index d4faddb..d4f3f8a 100644 --- a/proto/schema.proto +++ b/proto/schema.proto @@ -133,6 +133,7 @@ message ScalarField { BytesArray bytes_data = 7; ArrayArray array_data = 8; JSONArray json_data = 9; + BlobFile blob_data = 10; } } @@ -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 {