tustvold commented on code in PR #3570:
URL: https://github.com/apache/arrow-rs/pull/3570#discussion_r1083269456
##########
arrow-csv/src/writer.rs:
##########
@@ -88,6 +88,25 @@ where
lexical_to_string(c.value(i))
}
+fn invalid_cast_error(dt: String, col_index: usize, row_index: usize) ->
ArrowError {
Review Comment:
```suggestion
fn invalid_cast_error(dt: &str, col_index: usize, row_index: usize) ->
ArrowError {
```
Might simplify some things
--
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]