cast_scalar_value

Function cast_scalar_value 

Source
fn cast_scalar_value(
    value: &ScalarValue,
    data_type: &DataType,
    cast_options: &CastOptions<'_>,
) -> Result<ScalarValue>
Expand description

Cast scalar value to the given data type using an arrow kernel.