[Bug](function) fix function in get wrong result when input const column (#19791)

fix function in get wrong result when input const column
This commit is contained in:
Pxl
2023-05-22 10:58:29 +08:00
committed by GitHub
parent f57b6adba9
commit d64be9565d
66 changed files with 135 additions and 221 deletions

View File

@ -463,8 +463,6 @@ public:
String get_name() const override { return name; }
bool use_default_implementation_for_constants() const override { return true; }
size_t get_number_of_arguments() const override { return 1; }
bool use_default_implementation_for_nulls() const override { return true; }
@ -776,8 +774,6 @@ public:
bool use_default_implementation_for_nulls() const override { return false; }
bool use_default_implementation_for_constants() const override { return true; }
size_t get_number_of_arguments() const override { return 1; }
bool is_variadic() const override { return true; }
@ -1180,7 +1176,6 @@ public:
return Impl::get_return_type_impl(arguments);
}
bool use_default_implementation_for_constants() const override { return true; }
//TODO: add function below when we fixed be-ut.
//ColumnNumbers get_arguments_that_are_always_constant() const override { return {1}; }