alamb commented on a change in pull request #10063:
URL: https://github.com/apache/arrow/pull/10063#discussion_r614747006



##########
File path: rust/arrow/src/record_batch.rs
##########
@@ -103,6 +103,56 @@ impl RecordBatch {
         RecordBatch { schema, columns }
     }
 
+    /// Creates a new [`RecordBatch`] with no columns
+    ///
+    /// TODO add an code example using `append`
+    pub fn new() -> Self {

Review comment:
       This makes sense @nevi-me  -- I think a separate `RecordBatchBuilder` 
sounds like a better idea to me. I'll wait a bit for feedback from others, and 
then give it a shot. 




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

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


Reply via email to