From 47d40d06ef09184e52405da071bc920bd691f5d2 Mon Sep 17 00:00:00 2001 From: Buqian Zheng Date: Thu, 14 Nov 2024 17:26:22 +0800 Subject: [PATCH] fix insert to avoid describe collection on every insert call (#2347) issue: https://github.com/milvus-io/milvus/issues/37622 Signed-off-by: Ubuntu Co-authored-by: Ubuntu --- pymilvus/client/grpc_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymilvus/client/grpc_handler.py b/pymilvus/client/grpc_handler.py index fd16654eb..bd070251d 100644 --- a/pymilvus/client/grpc_handler.py +++ b/pymilvus/client/grpc_handler.py @@ -491,7 +491,7 @@ def insert_rows( **kwargs, ): request = self._prepare_row_insert_request( - collection_name, entities, partition_name, timeout, **kwargs + collection_name, entities, partition_name, schema, timeout, **kwargs ) resp = self._stub.Insert(request=request, timeout=timeout) check_status(resp.status)