MCPcopy Create free account
hub / github.com/apache/arrow / CumulativeSum

Function CumulativeSum

cpp/src/arrow/compute/api_vector.cc:477–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475// Cumulative functions
476
477Result<Datum> CumulativeSum(const Datum& values, const CumulativeOptions& options,
478 bool check_overflow, ExecContext* ctx) {
479 auto func_name = check_overflow ? "cumulative_sum_checked" : "cumulative_sum";
480 return CallFunction(func_name, {Datum(values)}, &options, ctx);
481}
482
483Result<Datum> CumulativeProd(const Datum& values, const CumulativeOptions& options,
484 bool check_overflow, ExecContext* ctx) {

Callers 1

TESTFunction · 0.85

Calls 2

CallFunctionFunction · 0.85
DatumClass · 0.70

Tested by 1

TESTFunction · 0.68