From f758839b8ca2d26bfa346c77f7ea86ccb170c4ed Mon Sep 17 00:00:00 2001 From: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com> Date: Thu, 14 Sep 2023 20:36:47 +0300 Subject: [PATCH] style check --- src/Functions/FunctionBinaryArithmetic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Functions/FunctionBinaryArithmetic.h b/src/Functions/FunctionBinaryArithmetic.h index b7829a1b538..33ed22b9fbd 100644 --- a/src/Functions/FunctionBinaryArithmetic.h +++ b/src/Functions/FunctionBinaryArithmetic.h @@ -1214,7 +1214,7 @@ class FunctionBinaryArithmetic : public IFunction ColumnPtr executeArrayWithNumericImpl(const ColumnsWithTypeAndName & args, const DataTypePtr & result_type, size_t input_rows_count) const { ColumnsWithTypeAndName arguments = args; - bool is_swapped = isNumber(args[0].type); /// Defines the order of agruments (If array is first argument - is_swapped = false) + bool is_swapped = isNumber(args[0].type); /// Defines the order of arguments (If array is first argument - is_swapped = false) const auto * return_type_array = checkAndGetDataType(result_type.get()); if (!return_type_array) @@ -1229,7 +1229,7 @@ class FunctionBinaryArithmetic : public IFunction const auto * left_const = typeid_cast(arguments[0].column.get()); const auto * right_const = typeid_cast(arguments[1].column.get()); - if (left_const && right_const) + if (left_const && right_const) { new_arguments[0] = {left_const->getDataColumnPtr(), arguments[0].type, arguments[0].name}; new_arguments[1] = {right_const->getDataColumnPtr(), arguments[1].type, arguments[1].name};