fn auto_cast_to_numeric(
s: &str,
data_type: &ConcreteDataType,
) -> Result<Option<Value>>
Expand description
Casts string to value of specified numeric data type. If the string cannot be parsed, returns an error.
Returns None if the data type doesn’t support auto casting.