You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/03 01:15:20 UTC

[GitHub] [arrow] westonpace edited a comment on pull request #12460: ARROW-13530: [C++] Implement cumulative sum compute function

westonpace edited a comment on pull request #12460:
URL: https://github.com/apache/arrow/pull/12460#issuecomment-1057562475


   @edponce 
   > @westonpace Why a `ScalarFunction` and not a `VectorFunction`? I understand the ordering issue, but...
   > 
   > An `Array` can be:
   > 
   >     * summed up into a single total sum
   
   This would be a vector function but we already have this with `sum` right?
   
   > 
   >     * cumulative sum resulting in an `Array` with partial sums
   
   Isn't this a scalar function?  I may be misunderstanding the term.  My current interpretation is "each row has a single output value".


-- 
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@arrow.apache.org

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