tustvold commented on code in PR #6563:
URL: https://github.com/apache/arrow-datafusion/pull/6563#discussion_r1219676162


##########
datafusion/core/src/physical_plan/file_format/mod.rs:
##########
@@ -1232,9 +1187,9 @@ mod tests {
             ],
         )
         .unwrap();
-
         let rows_num = batch.num_rows();
-        let mapped_batch = mapping.map_batch(batch).unwrap();
+        let projected = batch.project(&projection).unwrap();

Review Comment:
   This highlights the major change, the schema adaptor assumes that the 
projection it output has been applied to the file_schema batches.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to