fix: style

This commit is contained in:
jasine 2021-08-16 00:49:33 +08:00
parent b9d8ee125b
commit aa49f76bf0
2 changed files with 6 additions and 7 deletions

View File

@ -25,7 +25,7 @@ class FunctionDateTimeToSnowflake : public IFunction
private:
const char * name;
public:
FunctionDateTimeToSnowflake( const char * name_)
FunctionDateTimeToSnowflake(const char * name_)
: name(name_)
{
}
@ -79,7 +79,6 @@ public:
DataTypePtr getReturnTypeImpl(const ColumnsWithTypeAndName & arguments) const override
{
if (arguments.size() < 1 || arguments.size() > 2)
throw Exception(ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH, "Function {} takes one or two arguments", name);
@ -118,7 +117,7 @@ class FunctionDateTime64ToSnowflake : public IFunction
private:
const char * name;
public:
FunctionDateTime64ToSnowflake( const char * name_)
FunctionDateTime64ToSnowflake(const char * name_)
: name(name_)
{
}