0AyanamiRei opened a new pull request, #67956: URL: https://github.com/apache/doris/pull/67956
Cherry-picked from #57215. ### What problem does this PR solve? Problem Summary: During aggregation, `cur_row` is no longer needed after merging, but its aggregation state remained allocated until memory-pool teardown. Clear the merged row's aggregation state immediately. ### Release note None ### Check List (For Author) - Test: Directly compiled `be/src/load/memtable/memtable.cpp` and linked `src/load/libLoad.a`. Full BE UT build is blocked by a pre-existing Lance API/header mismatch in `be/src/format_v2/table/lance_reader.cpp`. - Behavior changed: No - Does this need documentation: No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
