Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion be/src/pipeline/exec/aggregation_sink_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ bool AggSinkLocalState::_emplace_into_hash_table_limit(vectorized::AggregateData
try {
HashMethodType::try_presis_key_and_origin(key, origin,
*_agg_arena_pool);
_shared_state->refresh_top_limit(i, key_columns);
auto mapped =
_shared_state->aggregate_data_container->append_data(
origin);
Expand All @@ -609,7 +610,6 @@ bool AggSinkLocalState::_emplace_into_hash_table_limit(vectorized::AggregateData
throw Exception(st.code(), st.to_string());
}
ctor(key, mapped);
_shared_state->refresh_top_limit(i, key_columns);
} catch (...) {
// Exception-safety - if it can not allocate memory or create status,
// the destructors will not be called.
Expand Down
Loading