[Bug]: Not providing auto ID field in upsert request raises an error "Insert missed an field id
to collection without set nullable==true or set default_value"
#2601
Labels
kind/bug
Something isn't working
Is there an existing issue for this?
Describe the bug
Not providing auto ID field in upsert request raises an error "Insert missed an field
id
to collection without set nullable==true or set default_value"Expected Behavior
The upsert request should not fail because the ID field is configured to be
auto_id
Steps/Code To Reproduce behavior
Environment details
Anything else?
The issue seems to be coming from this line
pymilvus/pymilvus/client/prepare.py
Line 562 in c5a3c18
Here it should be checked whether the field is
auto_id
and allow it not to be providedThe text was updated successfully, but these errors were encountered: