| 481 | } |
| 482 | |
| 483 | Result<Datum> CumulativeProd(const Datum& values, const CumulativeOptions& options, |
| 484 | bool check_overflow, ExecContext* ctx) { |
| 485 | auto func_name = check_overflow ? "cumulative_prod_checked" : "cumulative_prod"; |
| 486 | return CallFunction(func_name, {Datum(values)}, &options, ctx); |
| 487 | } |
| 488 | |
| 489 | Result<Datum> CumulativeMax(const Datum& values, const CumulativeOptions& options, |
| 490 | ExecContext* ctx) { |