Update FunctionsConversion.h

This commit is contained in:
Kruglov Pavel 2022-01-25 12:32:21 +03:00 committed by GitHub
parent ab49472155
commit ed43abbaeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1772,8 +1772,11 @@ private:
}
}
if (std::is_same_v<ToDataType, DataTypeString> && from_type->getCustomSerialization())
return ConvertImplGenericToString<ColumnString>::execute(arguments, result_type, input_rows_count);
if constexpr (std::is_same_v<ToDataType, DataTypeString>)
{
if (from_type->getCustomSerialization())
return ConvertImplGenericToString<ColumnString>::execute(arguments, result_type, input_rows_count);
}
bool done;
if constexpr (to_string_or_fixed_string)