mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix clang-tidy
This commit is contained in:
parent
99009a3468
commit
b0908144b3
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user