Function datafusion_common::parsers::parse_interval
source · pub fn parse_interval(leading_field: &str, value: &str) -> Result<ScalarValue>
Expand description
Parses a string with an interval like '0.5 MONTH'
to an
appropriately typed ScalarValue