Skip to content

Commit f289d6d

Browse files
fix ut
Signed-off-by: silverbullet233 <3675229+silverbullet233@users.noreply.github.com>
1 parent 0dccfce commit f289d6d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

be/src/exec/pipeline/nljoin/nljoin_probe_operator.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "runtime/current_thread.h"
2323
#include "runtime/descriptors.h"
2424
#include "simd/simd.h"
25+
#include "storage/chunk_helper.h"
2526

2627
namespace starrocks::pipeline {
2728

@@ -662,8 +663,11 @@ Status NLJoinProbeOperator::_permute_right_join(size_t chunk_size) {
662663
}
663664
}
664665
permute_rows += chunk->num_rows();
665-
666-
RETURN_IF_ERROR(eval_conjuncts(_conjunct_ctxs, chunk.get(), nullptr));
666+
{
667+
CommonExprEvalScopeGuard guard(chunk, _common_expr_ctxs);
668+
RETURN_IF_ERROR(guard.evaluate());
669+
RETURN_IF_ERROR(eval_conjuncts(_conjunct_ctxs, chunk.get(), nullptr));
670+
}
667671
RETURN_IF_ERROR(_output_accumulator.push(std::move(chunk)));
668672
match_flag_index += cur_chunk_size;
669673
}

0 commit comments

Comments
 (0)