[bug](function) fix explode_number function return wrong rows (#23603)
before the explode_number function result is random with const value. because the _cur_size is reset, so it's can't insert values to column.
This commit is contained in:
@ -36,7 +36,7 @@ VExplodeTableFunction::VExplodeTableFunction() {
|
||||
_fn_name = "vexplode";
|
||||
}
|
||||
|
||||
Status VExplodeTableFunction::process_init(Block* block) {
|
||||
Status VExplodeTableFunction::process_init(Block* block, RuntimeState* state) {
|
||||
CHECK(_expr_context->root()->children().size() == 1)
|
||||
<< "VExplodeTableFunction only support 1 child but has "
|
||||
<< _expr_context->root()->children().size();
|
||||
|
||||
Reference in New Issue
Block a user