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


##########
arrow-row/src/lib.rs:
##########
@@ -758,7 +767,18 @@ impl RowConverter {
         // SAFETY
         // We have validated that the rows came from this [`RowConverter`]
         // and therefore must be valid
-        unsafe { self.convert_raw(&mut rows, validate_utf8) }
+        let result = unsafe { self.convert_raw(&mut rows, validate_utf8) }?;
+
+        for (i, row) in rows.iter().enumerate() {

Review Comment:
   ```suggestion
           #[cfg!(test)]
           for (i, row) in rows.iter().enumerate() {
   ```



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to