This commit is contained in:
Amos Bird 2020-07-15 10:20:05 +08:00
parent 156be5e270
commit 6017a33722
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4

View File

@ -77,14 +77,14 @@ public:
String getName() const override { return name; }
FunctionBaseImplPtr build(const ColumnsWithTypeAndName & arguments, const DataTypePtr &) const override;
DataTypePtr getReturnType(const ColumnsWithTypeAndName &) const override { return {}; }
DataTypePtr getReturnType(const ColumnsWithTypeAndName &) const override { return {}; } // Not used
bool useDefaultImplementationForNulls() const override { return false; }
bool useDefaultImplementationForLowCardinalityColumns() const override { return true; }
bool isVariadic() const override { return true; }
size_t getNumberOfArguments() const override { return 0; }
ColumnNumbers getArgumentsThatAreAlwaysConstant() const override { return {2}; }
ColumnNumbers getArgumentsThatAreAlwaysConstant() const override { return {0, 1}; }
void checkNumberOfArgumentsIfVariadic(size_t number_of_arguments) const override;
private: