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));