You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/01 11:44:29 UTC

[GitHub] [arrow-rs] jhorstmann commented on issue #1515: cannot read parquet file

jhorstmann commented on issue #1515:
URL: https://github.com/apache/arrow-rs/issues/1515#issuecomment-1085798994


   Can confirm the issue with the given file:
   
   ```
   thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', parquet/src/record/reader.rs:134:52
   stack backtrace:
      0: rust_begin_unwind
                at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5
      1: core::panicking::panic_fmt
                at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14
      2: core::panicking::panic
                at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:48:5
      3: core::option::Option<T>::unwrap
                at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/option.rs:729:21
      4: parquet::record::reader::TreeBuilder::reader_tree
                at ./parquet/src/record/reader.rs:134:31
      5: parquet::record::reader::TreeBuilder::reader_tree
                at ./parquet/src/record/reader.rs:301:38
      6: parquet::record::reader::TreeBuilder::reader_tree
                at ./parquet/src/record/reader.rs:281:34
      7: parquet::record::reader::TreeBuilder::reader_tree
                at ./parquet/src/record/reader.rs:301:38
      8: parquet::record::reader::TreeBuilder::reader_tree
                at ./parquet/src/record/reader.rs:281:34
      9: parquet::record::reader::TreeBuilder::build
                at ./parquet/src/record/reader.rs:79:26
     10: parquet::record::reader::TreeBuilder::as_iter
                at ./parquet/src/record/reader.rs:102:25
     11: <parquet::record::reader::RowIter as core::iter::traits::iterator::Iterator>::next
                at ./parquet/src/record/reader.rs:774:32
     12: parquet_read::main
                at ./parquet/src/bin/parquet-read.rs:84:15
     13: core::ops::function::FnOnce::call_once
                at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5
   note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
   ```
   
   The column path that can't be found is ["tags", "name"] but should be ["table_info", "tags", "name"].


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