tustvold commented on code in PR #1796:
URL: https://github.com/apache/arrow-rs/pull/1796#discussion_r889960328


##########
arrow/src/ipc/reader.rs:
##########
@@ -608,6 +608,11 @@ pub fn read_record_batch(
     let mut node_index = 0;
     let mut arrays = vec![];
 
+    let options = RecordBatchOptions {
+        match_field_names: true,
+        row_count: Some(batch.length() as usize),
+    };

Review Comment:
   ```suggestion
       let options = RecordBatchOptions {
           row_count: Some(batch.length() as usize),
           ..Default::default()
       };
   ```
   
   Might be a bit more future-proof



-- 
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