diff --git a/dbms/src/Functions/FunctionsBitmap.h b/dbms/src/Functions/FunctionsBitmap.h index 26135fc250d..c6dce7dfdb6 100644 --- a/dbms/src/Functions/FunctionsBitmap.h +++ b/dbms/src/Functions/FunctionsBitmap.h @@ -994,11 +994,13 @@ private: bool is_column_const[2]; for (size_t i = 0; i < 2; ++i) { - if (auto argument_column_const = typeid_cast(block.getByPosition(arguments[i]).column.get())) { + if (auto argument_column_const = typeid_cast(block.getByPosition(arguments[i]).column.get())) + { columns[i] = typeid_cast(argument_column_const->getDataColumnPtr().get()); is_column_const[i] = true; } - else { + else + { columns[i] = typeid_cast(block.getByPosition(arguments[i]).column.get()); is_column_const[i] = false; }