diff --git a/src/Functions/FunctionStringOrArrayToT.h b/src/Functions/FunctionStringOrArrayToT.h index efbfec2aba1..e00acc006cf 100644 --- a/src/Functions/FunctionStringOrArrayToT.h +++ b/src/Functions/FunctionStringOrArrayToT.h @@ -94,7 +94,7 @@ public: return col_res; } - else if (const ColumnMap* col_map = checkAndGetColumn(column.get())) + else if (const ColumnMap * col_map = checkAndGetColumn(column.get())) { auto col_res = ColumnVector::create(); typename ColumnVector::Container & vec_res = col_res->getData(); diff --git a/tests/queries/0_stateless/01592_length_map.sql b/tests/queries/0_stateless/01592_length_map.sql index 368029a5aac..e4e2b3c927b 100644 --- a/tests/queries/0_stateless/01592_length_map.sql +++ b/tests/queries/0_stateless/01592_length_map.sql @@ -5,4 +5,4 @@ select length(map()); select empty(map(1,2,3,4)); select empty(map()); select notEmpty(map(1,2,3,4)); -select notEmpty(map()); \ No newline at end of file +select notEmpty(map());