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

   > > [@LiaCastaneda](https://github.com/LiaCastaneda) could you try this on 
main now? I wonder if [#17444](https://github.com/apache/datafusion/pull/17444) 
made a difference.
   > 
   > I can confirm it mitigates the CPU issue :)
   
   I suspect this is because the old code always created a new ScalarValue for 
the min/max, even if the min/max didn't change. For ListArrays specifically 
this is quite expensive. The new code only makes a new Scalarvalue when the 
min/max changes


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

Reply via email to