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/11/01 00:44:04 UTC

[GitHub] [arrow-datafusion] andygrove commented on issue #1952: panicked at 'index out of bounds: the len is 2 but the index is 2'

andygrove commented on issue #1952:
URL: https://github.com/apache/arrow-datafusion/issues/1952#issuecomment-1297861561

   Tested this just now with updated code:
   
   ```rust
   #[tokio::test]
   async fn test() -> Result<()> {
       let ctx = SessionContext::new();
       ctx.register_parquet("example", "/home/andy/Downloads/blogs.parquet", ParquetReadOptions::default()).await?;
       let df = ctx.sql("SELECT reply FROM example GROUP BY reply LIMIT 100").await?;
       let record_batches = df.collect().await?;
       println!("sdasd {:?}", record_batches);
       Ok(())
   }
   ```
   
   fails with:
   
   ```
   Error: ArrowError(ExternalError(Execution("Arrow error: External error: Internal error: Unsupported data type in hasher: Struct([Field { name: \"reply_id\", data_type: Int32, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"next_id\", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }]). This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker")))
   
   ```


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