jonkeane commented on code in PR #49338:
URL: https://github.com/apache/arrow/pull/49338#discussion_r2996222032
##########
r/R/util.R:
##########
@@ -196,6 +196,18 @@ repeat_value_as_array <- function(object, n) {
}
handle_csv_read_error <- function(msg, call, schema) {
+ if (grepl("conversion error to null", msg)) {
+ msg <- c(
+ msg,
+ i = paste(
+ "If you have not specified the schema, this error may be due to the
column type being",
Review Comment:
This might be a little overly complicated, but at this point, is `schema`
`NULL` if it wasn't specified? If it is, we could actually detect if someone
has specified or not and message that?
--
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]