Skip to content

Conversation

@gabotechs
Copy link

Cherry picks apache#16346

* Fix array_agg memory over accounting

* Add comment

(cherry picked from commit 8a2d618)
@gabotechs gabotechs changed the title Fix array_agg memory over use (#16346) [branch-48] Fix array_agg memory overaccounting Jun 12, 2025
Copy link

@ahmed-mez ahmed-mez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ICYMI a related test case seems to be failing

])])?;

// without compaction, the size is 17112
assert_eq!(acc.size(), 2080);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in apache/main, this value is 2112. I have no idea why we need 2080 here for the test to pass.

I don't think investing time in investigating this is worth it, so I'm just going to go ahead and merge this, but I'll keep this in mind.

@gabotechs gabotechs merged commit e155734 into branch-48 Jun 12, 2025
54 of 55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants