mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
fix: style
This commit is contained in:
parent
b9d8ee125b
commit
aa49f76bf0
@ -25,7 +25,7 @@ class FunctionDateTimeToSnowflake : public IFunction
|
|||||||
private:
|
private:
|
||||||
const char * name;
|
const char * name;
|
||||||
public:
|
public:
|
||||||
FunctionDateTimeToSnowflake( const char * name_)
|
FunctionDateTimeToSnowflake(const char * name_)
|
||||||
: name(name_)
|
: name(name_)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -79,7 +79,6 @@ public:
|
|||||||
|
|
||||||
DataTypePtr getReturnTypeImpl(const ColumnsWithTypeAndName & arguments) const override
|
DataTypePtr getReturnTypeImpl(const ColumnsWithTypeAndName & arguments) const override
|
||||||
{
|
{
|
||||||
|
|
||||||
if (arguments.size() < 1 || arguments.size() > 2)
|
if (arguments.size() < 1 || arguments.size() > 2)
|
||||||
throw Exception(ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH, "Function {} takes one or two arguments", name);
|
throw Exception(ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH, "Function {} takes one or two arguments", name);
|
||||||
|
|
||||||
@ -118,7 +117,7 @@ class FunctionDateTime64ToSnowflake : public IFunction
|
|||||||
private:
|
private:
|
||||||
const char * name;
|
const char * name;
|
||||||
public:
|
public:
|
||||||
FunctionDateTime64ToSnowflake( const char * name_)
|
FunctionDateTime64ToSnowflake(const char * name_)
|
||||||
: name(name_)
|
: name(name_)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user