haohuaijin opened a new issue, #7894:
URL: https://github.com/apache/arrow-datafusion/issues/7894
### Describe the bug
When I want to run sql `select * from aggregate_test_100.csv`, I encounter
the following error.
```
Error: ArrowError(ParseError("Error while parsing value 14857091259186476033
for column 9 at line 3"))
```
### To Reproduce
```rust
#[tokio::main]
async fn main() -> Result<()> {
// create local execution context
let ctx = SessionContext::new();
let testdata = datafusion::test_util::arrow_test_data();
// register csv file with the execution context
ctx.register_csv(
"aggregate_test_100",
&format!("{testdata}/csv/aggregate_test_100.csv"),
CsvReadOptions::new(),
)
.await?;
// execute the query
let df = ctx.sql("select c10 from aggregate_test_100")
.await?;
// print the results
df.show().await?;
}
```
the `aggregate_test_100.csv` is located in `testing/data/csv/`.
### Expected behavior
correct run the sql `select * from aggregate_test_100.csv`
### Additional context
_No response_
--
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]