kesavkolla commented on issue #2439:
URL: 
https://github.com/apache/arrow-datafusion/issues/2439#issuecomment-1117727984

   I had to create a zip file from the compressed parquet because github is not 
letting to updload files otherwise.
   
   Just unzip the file and try to load it via datafusion then we get the above 
error.
   
   Here is my code snippet
   ```rust
   #[tokio::main]
   async fn main() -> Result<(), String> {
       let ctx = SessionContext::new();
   
       ctx.register_parquet("patient", 
"part-00000-f6337bce-7fcd-4021-9f9d-040413ea83f8-c000.snappy.parquet",
                            ParquetReadOptions::default()).await.unwrap();
   
       let df = ctx.sql("SELECT patient.id FROM patient LIMIT 
10").await.unwrap();
       df.show().await.unwrap();
       Ok(())
   }
   
   ```
   
   
[part-00000-f6337bce-7fcd-4021-9f9d-040413ea83f8-c000.snappy.parquet.zip](https://github.com/apache/arrow-datafusion/files/8626500/part-00000-f6337bce-7fcd-4021-9f9d-040413ea83f8-c000.snappy.parquet.zip)
   


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