From 44426b2f4f01e68415338329d1678422d6ba3e14 Mon Sep 17 00:00:00 2001 From: loneylee Date: Thu, 30 May 2024 14:50:23 +0800 Subject: [PATCH] fix ut --- cpp-ch/local-engine/Functions/SparkFunctionTrim.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp-ch/local-engine/Functions/SparkFunctionTrim.cpp b/cpp-ch/local-engine/Functions/SparkFunctionTrim.cpp index bb6fcb42e5476..88ed3f635672d 100644 --- a/cpp-ch/local-engine/Functions/SparkFunctionTrim.cpp +++ b/cpp-ch/local-engine/Functions/SparkFunctionTrim.cpp @@ -120,6 +120,7 @@ namespace auto res_col = ColumnString::create(); res_col->reserve(input_rows_count); executeVector(src_str_col->getChars(), src_str_col->getOffsets(), res_col->getChars(), res_col->getOffsets(), trim_str); + return std::move(res_col); } else if (const auto * trim_str_col = checkAndGetColumn(arguments[1].column.get())) {