Skip to content

[Bug]: partial_update not working #3067

@IvanHahan

Description

@IvanHahan

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

when doing upsert, partial_update parameter is recognized, but not working.

my schema (simplified) is

  • id
  • keywords
  • text
  • meta

I'm doing upsert wtih document {"id": "some_existing_id", "meta": "some_meta"}, and pass partial_update=True.

I get

pymilvus.exceptions.MilvusException: <MilvusException: (code=1100, message=fieldSchema(keywords) has no corresponding fieldData pass in: invalid parameter)>

milvus expects to add fields that are missing (that I dont want to be updated)

Expected Behavior

I expect partial update to work. so in the example above I can update meta without an error

Steps/Code To Reproduce behavior

Environment details

- Hardware/Softward conditions (OS, CPU, GPU, Memory):
- Method of installation (Docker, or from source):
- Milvus version (v0.3.1, or v0.4.0):
- Milvus configuration (Settings you made in `server_config.yaml`):

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions