This commit is contained in:
nikitamikhaylov 2020-09-08 15:03:55 +03:00
parent 1f1b570832
commit 724b78a578

View File

@ -651,10 +651,9 @@ FuncRet inFunc(DB::ASTPtr ch, std::map<std::string, Column> & columns)
{
ColumnType type = type_cast(literal->value.getType());
/// C++20
auto routine = [&] <typename T>(const T & arr_values)
auto routine = [&](const auto & arr_values)
{
for (auto val : arr_values)
for (auto & val : arr_values)
{
type = type_cast(val.getType());
if (type == type::s || type == type::d || type == type::dt)