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 2026/02/02 12:08:58 UTC

Re: [I] Is there a way for accumulators to know when they are used in windows? [datafusion]

alamb commented on issue #20087:
URL: https://github.com/apache/datafusion/issues/20087#issuecomment-3834745301

   > Can accumulators know when they are used in windows, which means they'd have to preserve their internal state, vs being used in regular aggregation where they can consume their internal state for potential optimization?
   
   It seems like a reasonable thing to me
   
   What I would suggest is finding a benchmark query that you want to optimize where cloning the state took a substantial amount of the time. Then it would be clear how/why we would make this change


-- 
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