jayzhan211 commented on issue #13188: URL: https://github.com/apache/datafusion/issues/13188#issuecomment-2463852123
> > If we create filter version of GroupColumn that accumulate the filtered array into array builder for each column, output if the batch size reach target (i.e. 8192) > > Would this be a specialization of a filter of the aggregates like for `SELECT SUM(x) FROM ... HAVING SUM(x) > 5` ? Probably, but I think it has potential to reduce copied too https://github.com/apache/datafusion/issues/11628. It aggregates at the first place similar to coalescer's role and no gc required since we aggregate the value without necessary buffer copied. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org