diff --git a/be/src/vec/functions/if.cpp b/be/src/vec/functions/if.cpp index 4c8d07257428c6..e3df1f4d8764cd 100644 --- a/be/src/vec/functions/if.cpp +++ b/be/src/vec/functions/if.cpp @@ -494,12 +494,14 @@ class FunctionIf : public IFunction { const ColumnWithTypeAndName& arg_cond = block.get_by_position(arguments[0]); if (auto* then_is_const = check_and_get_column(*arg_then.column)) { - if (then_is_const->only_null() == false && check_and_get_column(then_is_const->get_data_column())) { + if (then_is_const->only_null() == false && + check_and_get_column(then_is_const->get_data_column())) { arg_then.column = then_is_const->get_data_column_ptr(); } } if (auto* else_is_const = check_and_get_column(*arg_else.column)) { - if (else_is_const->only_null() == false && check_and_get_column(else_is_const->get_data_column())) { + if (else_is_const->only_null() == false && + check_and_get_column(else_is_const->get_data_column())) { arg_else.column = else_is_const->get_data_column_ptr(); } }