| 58 | } |
| 59 | |
| 60 | static Result<Datum> DivideChecked(const Datum& left, const Datum& right, |
| 61 | ArithmeticOptions options = ArithmeticOptions(), |
| 62 | ExecContext* ctx = NULLPTR) { |
| 63 | options.check_overflow = true; |
| 64 | return Divide(left, right, std::move(options), ctx); |
| 65 | } |
| 66 | |
| 67 | template <BinaryOp& Op, typename ArrowType, typename CType = typename ArrowType::c_type> |
| 68 | static void ArrayScalarKernel(benchmark::State& state) { |