You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2024/08/05 20:33:54 UTC
Re: [PR] Generate GroupByHash output in multiple RecordBatches [datafusion]
alamb commented on PR #11758:
URL: https://github.com/apache/datafusion/pull/11758#issuecomment-2269868799
Thank you @JasonLi-cn
I wonder if we have tested the performance of this branch? I worry that the incremental output generation will result in a copying the values multiple times (as each `emit_to` will effectively copy the remaining elements "down"
If this turns out to be a large performance overhead, then I think we could look into updating the accumulators to remember where they have emitted to or something (or maybe add a `EmitNext` or something that could handle remebering the offset 🤔
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org