Skip to content

Commit

Permalink
[fix](update null map) Fix update_null_map #38787 (#38920)
Browse files Browse the repository at this point in the history
cherry pick from #38787
  • Loading branch information
zhiqiang-hhhh authored Aug 7, 2024
1 parent 2b1aa05 commit e400859
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions be/src/vec/utils/util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,11 @@ class VectorizedUtils {
size_t size = dst.size();
auto* __restrict l = dst.data();
auto* __restrict r = src.data();
if (is_single && r[0]) {
for (size_t i = 0; i < size; ++i) {
l[i] = 1;
if (is_single) {
if (r[0]) {
for (size_t i = 0; i < size; ++i) {
l[i] = 1;
}
}
} else {
for (size_t i = 0; i < size; ++i) {
Expand Down

0 comments on commit e400859

Please sign in to comment.