fix style check

This commit is contained in:
bharatnc 2022-05-02 21:53:53 -07:00
parent 0491341953
commit e56f7a1451
2 changed files with 4 additions and 3 deletions

View File

@ -20,7 +20,6 @@ namespace DB
namespace ErrorCodes namespace ErrorCodes
{ {
extern const int ILLEGAL_TYPE_OF_ARGUMENT; extern const int ILLEGAL_TYPE_OF_ARGUMENT;
extern const int INCORRECT_DATA;
extern const int ILLEGAL_COLUMN; extern const int ILLEGAL_COLUMN;
} }

View File

@ -46,8 +46,10 @@ public:
throw Exception( throw Exception(
ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT, ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT,
"Illegal type {} of argument {} of function {}. Must be UInt64", "Illegal type {} of argument {} of function {}. Must be UInt64",
arg->getName(), 1, getName()); arg->getName(),
1,
getName());
return std::make_shared<DataTypeUInt8>(); return std::make_shared<DataTypeUInt8>();
} }