Closed zhuwenxing closed 1 year ago
/assign @yhmo /unassign @yanliang567
The data type for float scalar is float, but from error message , it seems be checked as <f8
data type.
After all, It was still caused by the datatype mismatch. In Milvus, DataType.FLOAT means float32, but I set it as float64 because it is the default data type for float in NumPy.
@yhmo But I think the error message is not that readable:
<f8
is not human readable, it would be better to change it to float64
Now the failed_reason become: illegal data type Double of numpy file for scalar field 'xxx' with type Float
Is there an existing issue for this?
Environment
Current Behavior
'failed_reason': 'Numpy parse: illegal data type <f8 for field float_scalar'
Expected Behavior
all test cases passed
Steps To Reproduce