[Bug](Func) Fix negative number in bitmap return error result (#31563)

This commit is contained in:
HappenLee
2024-02-29 11:08:03 +08:00
committed by yiguolei
parent 82add8dfc1
commit ff3c7765d6
5 changed files with 7 additions and 5 deletions

View File

@ -132,7 +132,9 @@ struct ToBitmap {
continue;
}
}
res_data[i].add(col->get_data()[i]);
if (auto value = col->get_data()[i]; value >= 0) {
res_data[i].add(value);
}
}
}
}