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

   Here is a smaller repro case:
   
   ```
   use datafusion::prelude::*;
   
   #[tokio::main]
   async fn main() -> datafusion::error::Result<()> {
       let ctx: SessionContext = SessionContext::new();
       let raw_fato_path: &str = "/mnt/bigdata/census/Data8277.csv";
       let stage_fato_path: &str = "/tmp/stage";
       let fato_census_df = ctx.read_csv(raw_fato_path, 
CsvReadOptions::new()).await?;
       fato_census_df.write_csv(stage_fato_path).await?;
       Ok(())
   }
   ```
   
   ```
   $ wc -l /tmp/stage/part-0.csv 
   425985 /tmp/stage/part-0.csv
   ```
   
   I tested with DataFusion 11, 12, and 13, and all have the same issue


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

Reply via email to