You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2026/09/28 13:18:54 UTC

Re: [I] sum_int: use arrow sum kernels and collapse integer type dispatch [datafusion-comet]

andygrove commented on issue #5098:
URL: https://github.com/apache/datafusion-comet/issues/5098#issuecomment-5870671363

   The arrow sum kernel route was benchmarked above at 75-322% slower for narrow integer inputs, because it has to materialize a widened Int64Array per batch, and it is neutral for Int64, so it is not worth doing. I think we can close this as not planned; a zero-allocation widening loop or a dispatch cleanup that keeps the per-width loops can be a separate issue.
   


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