alamb commented on code in PR #4280:
URL: https://github.com/apache/arrow-rs/pull/4280#discussion_r1207342693


##########
parquet/src/arrow/arrow_writer/mod.rs:
##########
@@ -152,43 +147,75 @@ impl<W: Write> ArrowWriter<W> {
         self.writer.flushed_row_groups()
     }
 
-    /// Enqueues the provided `RecordBatch` to be written
+    /// Returns the length in bytes of the current in progress row group
+    pub fn in_progress_size(&self) -> usize {

Review Comment:
   @tustvold  -- I am having some trouble with this API when using it in IOx -- 
it is always returning zero (see 
https://github.com/influxdata/influxdb_iox/pull/7880/files#r1207315133) 
   
   I wrote a test for these APIs targeting this PR in 
https://github.com/tustvold/arrow-rs/pull/63 perhaps you can have a look at 
tell me if I am doing something wrong?
   
   



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