mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
FunctionsRound: don't process empty columns - not significant change, just in case [#METR-20540].
This commit is contained in:
parent
114713a9c3
commit
cee7fd35bb
@ -980,6 +980,9 @@ namespace
|
||||
typename ColumnVector<T>::Container_t & vec_res = col_res->getData();
|
||||
vec_res.resize(col->getData().size());
|
||||
|
||||
if (vec_res.empty())
|
||||
return;
|
||||
|
||||
Op::apply(col->getData(), scale, vec_res);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user