andygrove commented on PR #26429: URL: https://github.com/apache/datafusion/pull/26429#issuecomment-7013075618
Closing this. @comphead's review showed that reserving for the worst case before every batch spills or emits even when a batch adds no groups. The fix he suggested, reserving when the table actually grows (which overlaps with @EmilyMatt's slice-and-retry), replaces this PR's approach rather than revising it. I've written up what I learned [on #25606](https://github.com/apache/datafusion/issues/25606#issuecomment-7013046957), including where each `GroupValues` grows its table and what can be reused from here. I've also unassigned myself so someone else can take it. Thanks to you both for the detailed reviews. -- 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]
