MCPcopy Create free account
hub / github.com/apache/datafusion / invoke_with_args

Method invoke_with_args

datafusion/spark/src/function/math/round.rs:122–124  ·  view source on GitHub ↗
(&self, args: ScalarFunctionArgs)

Source from the content-addressed store, hash-verified

120 }
121
122 fn invoke_with_args(&self, args: ScalarFunctionArgs) -> Result<ColumnarValue> {
123 spark_round(&args.args, args.config_options.execution.enable_ansi_mode)
124 }
125}
126
127/// Extract the scale (decimal places) from the second argument.

Callers

nothing calls this directly

Calls 1

spark_roundFunction · 0.85

Tested by

no test coverage detected