[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:
@ -91,8 +91,6 @@ public:
|
||||
|
||||
bool use_default_implementation_for_nulls() const override { return false; }
|
||||
|
||||
bool use_default_implementation_for_constants() const override { return true; }
|
||||
|
||||
template <typename ColumnType, bool is_nullable>
|
||||
Status execute_internal(const ColumnPtr& column, const DataTypePtr& data_type,
|
||||
MutableColumnPtr& column_result) {
|
||||
@ -248,8 +246,6 @@ public:
|
||||
|
||||
bool use_default_implementation_for_nulls() const override { return false; }
|
||||
|
||||
bool use_default_implementation_for_constants() const override { return true; }
|
||||
|
||||
Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments,
|
||||
size_t result, size_t input_rows_count) override {
|
||||
auto res_data_column = ColumnFloat64::create();
|
||||
|
||||
Reference in New Issue
Block a user