From 73a9c2b8dcbf0026fa99ecb03df9db0f098db12e Mon Sep 17 00:00:00 2001 From: HappenLee Date: Tue, 5 Dec 2023 10:56:34 +0800 Subject: [PATCH] [bug](function) fix compound expr coredump problem --- be/src/vec/exprs/vcompound_pred.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/vec/exprs/vcompound_pred.h b/be/src/vec/exprs/vcompound_pred.h index 20c7633e3c3814..57bf07d4097691 100644 --- a/be/src/vec/exprs/vcompound_pred.h +++ b/be/src/vec/exprs/vcompound_pred.h @@ -117,7 +117,7 @@ class VCompoundPred : public VectorizedFnCall { return res_id; }; - auto create_null_map_column = [&](ColumnPtr null_map_column, + auto create_null_map_column = [&](ColumnPtr& null_map_column, uint8* __restrict null_map_data) { if (null_map_data == nullptr) { null_map_column = ColumnUInt8::create(size, 0);