tustvold commented on code in PR #4332:
URL: https://github.com/apache/arrow-rs/pull/4332#discussion_r1212962473
##########
parquet/examples/read_with_rowgroup.rs:
##########
@@ -40,8 +39,8 @@ async fn main() -> Result<()> {
for rg in metadata.row_groups() {
let mut rowgroup = InMemoryRowGroup::create(rg.clone(),
ProjectionMask::all());
- let mut reader = std::fs::File::open(&path).unwrap();
- rowgroup.fetch_data(&mut reader, None)?;
+ let mut reader = File::open(&path).await.unwrap();
+ rowgroup.async_fetch_data(&mut reader, None).await?;
Review Comment:
```suggestion
rowgroup.async_fetch_data(&mut file, None).await?;
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]