mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Merge pull request #14583 from nikitamikhaylov/datasets-gen-20
Fix for clang-8 build in datasets generator.
This commit is contained in:
commit
336df167ff
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user