pub fn can_project( schema: &Arc<Schema>, projection: Option<&Vec<usize>>, ) -> Result<(), DataFusionError>
Checks if the given projection is valid for the given schema.