script::python::ffi_types::utils

Function all_to_f64

source
pub fn all_to_f64(col: ColumnarValue) -> Result<ColumnarValue, String>
Expand description

Because most of the datafusion’s UDF only support f32/64, so cast all to f64 to use datafusion’s UDF