viirya commented on code in PR #245: URL: https://github.com/apache/iceberg-rust/pull/245#discussion_r1545178174
########## crates/iceberg/src/scan.rs: ########## @@ -187,6 +190,22 @@ impl TableScan { let mut arrow_reader_builder = ArrowReaderBuilder::new(self.file_io.clone(), self.schema.clone()); + let mut field_ids = vec![]; + for column_name in &self.column_names { + let field_id = self.schema.field_id_by_name(column_name).ok_or_else(|| { Review Comment: Added these checks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org