(&self, args: ScalarFunctionArgs)
| 63 | } |
| 64 | |
| 65 | fn invoke_with_args(&self, args: ScalarFunctionArgs) -> Result<ColumnarValue> { |
| 66 | assert_or_internal_err!( |
| 67 | args.args.is_empty(), |
| 68 | "{} function does not accept arguments", |
| 69 | self.name() |
| 70 | ); |
| 71 | Ok(ColumnarValue::Scalar(ScalarValue::Float64(Some( |
| 72 | std::f64::consts::PI, |
| 73 | )))) |
| 74 | } |
| 75 | |
| 76 | fn output_ordering(&self, _input: &[ExprProperties]) -> Result<SortProperties> { |
| 77 | // This function returns a constant value. |
no outgoing calls
no test coverage detected