[Feature](agg_state) support agg_state combinators (#19969)

support agg_state combinators state/merge/union
This commit is contained in:
Pxl
2023-05-29 13:07:29 +08:00
committed by GitHub
parent f217e052d3
commit bbb3af6ce6
29 changed files with 564 additions and 99 deletions

View File

@ -716,7 +716,7 @@ Status AggregationNode::_serialize_without_key(RuntimeState* state, Block* block
for (int i = 0; i < _aggregate_evaluators.size(); ++i) {
_aggregate_evaluators[i]->function()->serialize_without_key_to_column(
_agg_data->without_key + _offsets_of_aggregate_states[i], value_columns[i]);
_agg_data->without_key + _offsets_of_aggregate_states[i], *value_columns[i]);
}
} else {
std::vector<VectorBufferWriter> value_buffer_writers;