| 453 | } |
| 454 | |
| 455 | Result<Datum> CumulativeProd(const Datum& values, const CumulativeOptions& options, |
| 456 | bool check_overflow, ExecContext* ctx) { |
| 457 | auto func_name = check_overflow ? "cumulative_prod_checked" : "cumulative_prod"; |
| 458 | return CallFunction(func_name, {Datum(values)}, &options, ctx); |
| 459 | } |
| 460 | |
| 461 | Result<Datum> CumulativeMax(const Datum& values, const CumulativeOptions& options, |
| 462 | ExecContext* ctx) { |