You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "WaterKnight1998 (via GitHub)" <gi...@apache.org> on 2023/02/22 09:43:39 UTC

[GitHub] [arrow-rs] WaterKnight1998 opened a new issue, #3745: SerializedFileReader panicked on next of RowIter

WaterKnight1998 opened a new issue, #3745:
URL: https://github.com/apache/arrow-rs/issues/3745

   **Describe the bug**
   
   I am iterating the RowIter of a `SerializedFileReader`, when I call iter.next() I get the following error:
   
   ```
   thread 'main' panicked at 'called `Option::unwrap()` on a `None` value',
   ```
   
   **To Reproduce**
   ```rust
       let mut file = File::open("test.parquet").unwrap();
       let reader = SerializedFileReader::new(file).unwrap();
       println!("Number of rows: {}", reader.metadata().num_row_groups());
   
       let mut iter = reader.get_row_iter(None).unwrap();
       let element = iter.next();
   ```
   
   **Expected behavior**
   It should return the row
   
   **Additional context**
   Parquet package version 33.0


-- 
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-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow-rs] tustvold commented on issue #3745: SerializedFileReader panicked on next of RowIter

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #3745:
URL: https://github.com/apache/arrow-rs/issues/3745#issuecomment-1439940763

   I suspect this is a duplicate of https://github.com/apache/arrow-rs/issues/2394 but without a reproducer I cannot debug this


-- 
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-unsubscribe@arrow.apache.org

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


[GitHub] [arrow-rs] Dandandan commented on issue #3745: SerializedFileReader panicked on next of RowIter

Posted by "Dandandan (via GitHub)" <gi...@apache.org>.
Dandandan commented on issue #3745:
URL: https://github.com/apache/arrow-rs/issues/3745#issuecomment-1439923726

   Looking at your panic, it doesn't error on `.next()` but on `unwrap`


-- 
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-unsubscribe@arrow.apache.org

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


[GitHub] [arrow-rs] tustvold closed issue #3745: SerializedFileReader panicked on next of RowIter

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #3745: SerializedFileReader panicked on next of RowIter
URL: https://github.com/apache/arrow-rs/issues/3745


-- 
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-unsubscribe@arrow.apache.org

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