mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
fix: style
This commit is contained in:
parent
b9d8ee125b
commit
aa49f76bf0
@ -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_)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user