tustvold commented on code in PR #4636:
URL: https://github.com/apache/arrow-rs/pull/4636#discussion_r1284486090
##########
parquet/src/file/writer.rs:
##########
@@ -184,6 +184,7 @@ impl<W: Write + Send> SerializedFileWriter<W> {
pub fn next_row_group(&mut self) -> Result<SerializedRowGroupWriter<'_,
W>> {
self.assert_previous_writer_closed()?;
self.row_group_index += 1;
+ let file_offset = self.buf.bytes_written();
Review Comment:
```suggestion
let file_offset = self.buf.bytes_written();
let ordinal = self.row_group_index;
self.row_group_index += 1;
```
--
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]