pub fn explain_sql_with_cost( query: impl Into<String>, cost_model: &dyn CostModel, ) -> SqlResult<String>
Explain a SQL query and append a cost estimate from the provided cost model.