andygrove commented on issue #3800:
URL:
https://github.com/apache/arrow-datafusion/issues/3800#issuecomment-1275214834
The plot thickens... I ran this unit test in df:
```
#[tokio::test]
async fn main() -> datafusion::error::Result<()> {
let ctx: SessionContext = SessionContext::new();
let raw_covid_path: &str = "/mnt/bigdata/covid/owid-covid-data.csv";
let covid_df = ctx.read_csv(raw_covid_path,
CsvReadOptions::new()).await?;
let batches = covid_df.collect().await?;
for batch in &batches {
println!("{}", batch.num_rows());
}
Ok(())
}
```
fails with:
```
Error: ArrowError(InvalidArgumentError("Column 'population' is declared as
non-nullable but contains null values"))
```
so it appears we have 2 separate issues:
- schema inference on partial scan says field is non-null but there are
nulls .. maybe that is fine
- errors seem to be consumed and ignored when reading csv and writing to
another format
--
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]