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 2021/04/26 12:44:16 UTC

[GitHub] [arrow-rs] alamb commented on issue #163: ParquetFileArrowReader panicks when trying to read nested list

alamb commented on issue #163:
URL: https://github.com/apache/arrow-rs/issues/163#issuecomment-826804963


   Comment from Ben Sully(sd2k) @ 2020-12-30T17:07:51.231+0000:
   <pre>I've attached a small Parquet file to allow for a repro. This code will trigger it (with a modification for the filepath, of course):
   
   {code}
   use datafusion::datasource::parquet::ParquetTable;
   use datafusion::execution::context::ExecutionContext;
   
   #[tokio::main]
   async fn main() {
       let mut ctx = ExecutionContext::new();
       let table = ParquetTable::try_new("/home/ben/small-nested-lists.parquet", 1).unwrap();
       ctx.register_table("event", Box::new(table));
       ctx.sql("SELECT * FROM event LIMIT 10")
           .unwrap()
           .collect()
           .await
           .unwrap();
   }
   {code}
   
   </pre>


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

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