pub fn extract(sql: &str) -> Result<Option<Extracted>, TemporalParseError>Expand description
Strip temporal clauses from sql and return the rewritten text plus the
extracted TemporalScope. Returns Ok(None) when no temporal clause is
present so the caller can short-circuit to the existing pipeline.