From 3181054e254f409cc6b94d0d464b9e496816303a Mon Sep 17 00:00:00 2001 From: xiedeyantu Date: Sun, 7 Apr 2024 22:02:34 +0800 Subject: [PATCH] fix --- be/src/vec/functions/function_string.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/be/src/vec/functions/function_string.h b/be/src/vec/functions/function_string.h index ea966fcd378c8c..01766b9da456bb 100644 --- a/be/src/vec/functions/function_string.h +++ b/be/src/vec/functions/function_string.h @@ -351,10 +351,8 @@ class FunctionStrcmp : public IFunction { } } - static void vector_vector( - const ColumnString& vec0, - const ColumnString& vec1, - ColumnInt16& res) { + static void vector_vector(const ColumnString& vec0, const ColumnString& vec1, + ColumnInt16& res) { size_t size = vec0.size(); for (size_t i = 0; i < size; ++i) { res.get_data()[i] = vec0.get_data_at(i).compare(vec1.get_data_at(i));