cyb70289 opened a new pull request #8232:
URL: https://github.com/apache/arrow/pull/8232


   Aggregate kernel consumes one batch and output a `state`, which is then
   merged with other batches. Currently, `state` parameter is defined as
   `const KernelState&` in `merge` interface. It may cause unnecessary data
   copying for kernels with non-trivial `states`.
   E.g., mode kernel maintains a value:count map in its `state` structure,
   by removing `const`, we can move the map rather than copy it.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to