From 6c04ecfb000696ededfbb92fb2404a7532a2ff0e Mon Sep 17 00:00:00 2001 From: "Xianhui.Lin" Date: Wed, 6 Nov 2024 10:13:38 +0800 Subject: [PATCH] enhance altercollection and altercollectionfiled Signed-off-by: Xianhui.Lin --- proto/milvus.proto | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/proto/milvus.proto b/proto/milvus.proto index e3403ca0..a49ffbba 100644 --- a/proto/milvus.proto +++ b/proto/milvus.proto @@ -282,6 +282,22 @@ message AlterCollectionRequest { string collection_name = 3; int64 collectionID = 4; repeated common.KeyValuePair properties = 5; + repeater string delete_keys = 6; +} + +message AlterCollectionFieldRequest { + option (common.privilege_ext_obj) = { + object_type: Global + object_privilege: PrivilegeCreateCollection + object_name_index: -1 + }; + // Not useful for now + common.MsgBase base = 1; + string db_name = 2; + // The unique collection name in milvus.(Required) + string collection_name = 3; + string field_name =4; + repeated common.KeyValuePair properties = 5; } /**