pub fn plan_sql_for_routing<C: Catalog + ?Sized>( catalog: &C, sql: &str, ) -> Result<Vec<PlannedStatement>, SqlError>
Parse and plan SQL without executing it, returning SQL-owned routing input.