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-unsubscr...@arrow.apache.org

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

Reply via email to