[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

@ -33,8 +33,6 @@ public:
bool get_is_injective(const Block&) override { return false; }
bool use_default_implementation_for_constants() const override { return true; }
DataTypePtr get_return_type_impl(const DataTypes& arguments) const override {
DCHECK(is_string_or_fixed_string(arguments[0]) || is_array(arguments[0]))
<< fmt::format("Illegal type {} used for argument of function {}",