edponce commented on pull request #12460:
URL: https://github.com/apache/arrow/pull/12460#issuecomment-1057567792


   @westonpace Oops! I forgot that `sum` existed.
   A `ScalarFunction` can operate independently on each element of the Array, 
but a cumulative sum requires the sum of the previous element to compute the 
next one (or the entire Array, depends on impl.), so this pattern conforms more 
to `VectorFunction`.


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