| 1211 | |
| 1212 | template <typename DecimalType, RoundMode kMode, int32_t kDigits> |
| 1213 | Status FixedRoundDecimalExec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) { |
| 1214 | using Op = Round<DecimalType, kMode>; |
| 1215 | return ScalarUnaryNotNullStateful<DecimalType, DecimalType, Op>( |
| 1216 | Op(kDigits, *out->type())) |
| 1217 | .Exec(ctx, batch, out); |
| 1218 | } |
| 1219 | |
| 1220 | // End round kernels |
| 1221 | // ---------------------------------------------------------------------- |