Skip to content

Commit

Permalink
fix insert to avoid describe collection on every insert call (#2347)
Browse files Browse the repository at this point in the history
issue: milvus-io/milvus#37622

Signed-off-by: Ubuntu <[email protected]>
Co-authored-by: Ubuntu <[email protected]>
  • Loading branch information
zhengbuqian and Ubuntu authored Nov 14, 2024
1 parent 5ec0a60 commit 47d40d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymilvus/client/grpc_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 47d40d0

Please sign in to comment.