paddyhoran commented on code in PR #2965:
URL: https://github.com/apache/arrow-rs/pull/2965#discussion_r1008318683


##########
arrow-array/src/record_batch.rs:
##########
@@ -377,6 +377,14 @@ impl RecordBatch {
         let schema = Arc::new(Schema::new(fields));
         RecordBatch::try_new(schema, columns)
     }
+
+    /// Returns the total number of bytes of memory occupied physically by 
this batch.
+    pub fn byte_size(&self) -> usize {

Review Comment:
   I think this distinction is good (data vs data + schema).  



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