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

Function FixedRoundDecimalExec

cpp/src/arrow/compute/kernels/scalar_round.cc:1213–1218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1211
1212template <typename DecimalType, RoundMode kMode, int32_t kDigits>
1213Status 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// ----------------------------------------------------------------------

Callers

nothing calls this directly

Calls 3

OpClass · 0.50
ExecMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected