Dandandan commented on issue #5313:
URL: 
https://github.com/apache/arrow-datafusion/issues/5313#issuecomment-1435390881

   > so yeah, `size` function needed to calc additional number of bytes that 
were allocated during `aggregate_batch` process. I have commented this out and 
the same query runs 4 sec instead of 100sec.
   > 
   > @Dandandan @alamb I'll file a ticket to optimize this part
   
   Yes, some quadratic complexity because of the growing state.


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

Reply via email to