You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/04 10:24:57 UTC

[GitHub] [arrow] dragosmg commented on a diff in pull request #13070: ARROW-15804: [R] Update as.Date() to support several tryFormats

dragosmg commented on code in PR #13070:
URL: https://github.com/apache/arrow/pull/13070#discussion_r912861073


##########
r/R/dplyr-datetime-helpers.R:
##########
@@ -105,7 +105,12 @@ binding_as_date <- function(x,
                             tryFormats = "%Y-%m-%d",
                             origin = "1970-01-01") {
   if (is.null(format) && length(tryFormats) > 1) {
-    abort("`as.Date()` with multiple `tryFormats` is not supported in Arrow")
+    abort(
+      paste(
+        "`as.Date()` with multiple `tryFormats` is not supported in Arrow,",
+        "consider using the specialised parsing functions"

Review Comment:
   Does "lubridate specialised parsing functions" sound better?



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org