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: [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]

Reply via email to