mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
https://github.com/milvus-io/milvus/issues/36275 Array's element type is not same with schema's. It is INT32 for INT16 and INT8 related pr: #35828 Signed-off-by: sunby <sunbingyi1992@gmail.com>
This commit is contained in:
parent
e66beb7ace
commit
e2f1beb543
@ -441,8 +441,6 @@ InvertedIndexTantivy<T>::build_index_for_array(
|
||||
auto n = data->get_num_rows();
|
||||
auto array_column = static_cast<const Array*>(data->Data());
|
||||
for (int64_t i = 0; i < n; i++) {
|
||||
assert(array_column[i].get_element_type() ==
|
||||
static_cast<DataType>(schema_.element_type()));
|
||||
wrapper_->template add_multi_data(
|
||||
reinterpret_cast<const T*>(array_column[i].data()),
|
||||
array_column[i].length());
|
||||
|
Loading…
Reference in New Issue
Block a user