Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix sparse: accpet int/float wrapped in string (milvus-io#2094)
when providing sparse float vector using python dict/list, we allow the index/value to be wrapped in string: both `{1:0.1, 2:0.2}` and `{1:"0.1", "2": 0.2}` are acceptable. this is defined in `entity_is_sparse_matrix` but `sparse_rows_to_proto` doesn't respect this. This pr fixes this. Signed-off-by: Buqian Zheng <[email protected]>
- Loading branch information