mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: increment offset for null data rows in JsonKeyStats (#43679)
fix: increment offset for null data rows in JsonKeyStatsInvertedIndex issue: https://github.com/milvus-io/milvus/issues/43151 Signed-off-by: Xianhui.Lin <xianhui.lin@zilliz.com>
This commit is contained in:
parent
21cec95fe8
commit
0f0edff7f0
@ -444,6 +444,7 @@ JsonKeyStatsInvertedIndex::BuildWithFieldData(
|
||||
auto n = data->get_num_rows();
|
||||
for (int i = 0; i < n; i++) {
|
||||
if (!data->is_valid(i)) {
|
||||
offset++;
|
||||
continue;
|
||||
}
|
||||
AddJson(static_cast<const milvus::Json*>(data->RawValue(i))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user