mirror of https://github.com/milvus-io/milvus.git
fix: Fix variable redeclaration in term filter (#38045)
https://github.com/milvus-io/milvus/issues/38046 Signed-off-by: sunby <sunbingyi1992@gmail.com>pull/38137/head
parent
4c623cebeb
commit
90064cd47b
|
@ -275,9 +275,9 @@ PhyTermFilterExpr::ExecTermArrayVariableInField() {
|
||||||
TargetBitmapView res,
|
TargetBitmapView res,
|
||||||
TargetBitmapView valid_res,
|
TargetBitmapView valid_res,
|
||||||
const ValueType& target_val) {
|
const ValueType& target_val) {
|
||||||
auto executor = [&](size_t i) {
|
auto executor = [&](size_t idx) {
|
||||||
for (int i = 0; i < data[i].length(); i++) {
|
for (int i = 0; i < data[idx].length(); i++) {
|
||||||
auto val = data[i].template get_data<GetType>(i);
|
auto val = data[idx].template get_data<GetType>(i);
|
||||||
if (val == target_val) {
|
if (val == target_val) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue