Fix clang-tidy

This commit is contained in:
Alexey Milovidov 2020-08-25 01:20:43 +03:00
parent 99009a3468
commit b0908144b3

View File

@ -38,7 +38,7 @@ public:
DataTypePtr getReturnTypeImpl(const ColumnsWithTypeAndName & arguments) const override DataTypePtr getReturnTypeImpl(const ColumnsWithTypeAndName & arguments) const override
{ {
auto col_type_const = typeid_cast<const ColumnConst *>(arguments.front().column.get()); const ColumnConst * col_type_const = typeid_cast<const ColumnConst *>(arguments.front().column.get());
if (!col_type_const || !isString(arguments.front().type)) if (!col_type_const || !isString(arguments.front().type))
throw Exception("The argument of function " + getName() + " must be a constant string describing type. " throw Exception("The argument of function " + getName() + " must be a constant string describing type. "
"Instead there is a column with the following structure: " + arguments.front().column->dumpStructure(), "Instead there is a column with the following structure: " + arguments.front().column->dumpStructure(),