milvus-io / milvus

A cloud-native vector database, storage for next generation AI applications
https://milvus.io
Apache License 2.0
29.44k stars 2.82k forks source link

[Bug]: When the dimension and schema definitions are inconsistent, the error message is unclear. #33765

Open zhuwenxing opened 3 months ago

zhuwenxing commented 3 months ago

Is there an existing issue for this?

Environment

- Milvus version:master/2.4
- Deployment mode(standalone or cluster):
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

the error message is %s not aligned->BinaryVector: importing data failed

failed job: https://jenkins.milvus.io:18080/blue/organizations/jenkins/Milvus%20HA%20CI/detail/PR-33709/9/pipeline

Expected Behavior

point out that the error should be dim not same

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

zhuwenxing commented 3 months ago

/assign @cydrain PTAL

lentitude2tk commented 3 months ago

I also encountered a similar issue with the import test on my end; the error message can be optimized.

2024-06-11 12:38:27.664 | [2024/06/11 12:38:27.663 +00:00] [WARN] [datacoord/import_scheduler.go:239] ["preimport failed"] [taskID=450384730367568476] [jobID=450384730367568469] [collectionID=450384730367566473] [type=PreImportTask] [reason="%s not aligned->FloatVector: importing data failed"]

https://grafana-vdc-dev.zilliz.cc/explore?orgId=1&panes=%7B%22eUM%22:%7B%22datasource%22:%22Zgl22j0Vk%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bcluster%3D%5C%22uat-milvus-us-west-2%5C%22,namespace%3D%5C%22milvus-in01-48e8c60706baca0%5C%22,pod%3D~%5C%22in01-48e8c60706baca0-milvus-.%2A%5C%22%7D%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22Zgl22j0Vk%22%7D%7D%5D,%22range%22:%7B%22from%22:%22now-1h%22,%22to%22:%22now%22%7D%7D%7D&schemaVersion=1

cydrain commented 3 months ago

/assign @sunby

cydrain commented 3 months ago

/unassign