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/10/11 19:55:01 UTC

[GitHub] [arrow] andygrove commented on issue #14313: [RUST][Datafusion] What causes "Error: Execution("file size of 4 is less than footer")" error?

andygrove commented on issue #14313:
URL: https://github.com/apache/arrow/issues/14313#issuecomment-1275201451

   working version of code:
   
   ```
   use datafusion::prelude::*;
   
   #[tokio::main]
   async fn main() -> datafusion::error::Result<()> {
       let ctx: SessionContext = SessionContext::new();
       let raw_covid_path: &str = "/mnt/bigdata/covid/owid-covid-data.csv";
       let stage_covid_path = "/tmp/covid";
       let covid_df = ctx.read_csv(raw_covid_path,
                                   CsvReadOptions::new()).await?;
       covid_df.write_parquet(stage_covid_path,None).await?;
       Ok(())
   }
   ```
   
   confirmed that this produces a 4 byte parquet file


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