Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: The error message of unmatched collection dim during insert is not user-friendly #2042

Open
1 task done
NicoYuan1986 opened this issue Apr 16, 2024 · 0 comments
Open
1 task done
Labels
kind/bug Something isn't working

Comments

@NicoYuan1986
Copy link

NicoYuan1986 commented Apr 16, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Before, collection dim is 128, insert data dim is 127, error message is like:
Collection field dim is 128, but entities field dim is 127.

But error message is
the length(254000) of float data should divide the dim(128)

It is not good, and i can not understand.

Expected Behavior

improve the error message

Steps/Code To Reproduce behavior

test_partition.py::TestPartitionOperations::test_partition_upsert_mismatched_data
test_insert.py::TestInsertParams::test_insert_dim_not_match
test_partition.py::TestPartitionOperations::test_partition_insert_mismatched_dimensions

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

@NicoYuan1986 NicoYuan1986 added the kind/bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant