pub fn validate_dml( plan: &PhysicalPlan, db: &Database, params: &HashMap<String, Value>, ) -> Result<()>