small fix

This commit is contained in:
FArthur-cmd 2022-10-24 12:53:10 +00:00
parent 93d48a2403
commit e0c87b2ae2
2 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ public:
bool isDeterministic() const override { return false; } bool isDeterministic() const override { return false; }
bool isVariadic() const override { return true; } bool isVariadic() const override { return false; }
size_t getNumberOfArguments() const override { return 0; } size_t getNumberOfArguments() const override { return 0; }
static FunctionOverloadResolverPtr create(ContextPtr) { return std::make_unique<UTCTimestampOverloadResolver>(); } static FunctionOverloadResolverPtr create(ContextPtr) { return std::make_unique<UTCTimestampOverloadResolver>(); }

View File

@ -47,9 +47,9 @@ public:
return name; return name;
} }
bool isVariadic() const override { return true; } bool isVariadic() const override { return false; }
bool isSuitableForShortCircuitArgumentsExecution(const DataTypesWithConstInfo & /*arguments*/) const override { return true; } bool isSuitableForShortCircuitArgumentsExecution(const DataTypesWithConstInfo & /*arguments*/) const override { return true; }
size_t getNumberOfArguments() const override { return 0; } size_t getNumberOfArguments() const override { return 2; }
DataTypePtr getReturnTypeImpl(const DataTypes & arguments) const override DataTypePtr getReturnTypeImpl(const DataTypes & arguments) const override
{ {