Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/16138#discussion_r97462770
--- Diff: R/pkg/R/functions.R ---
@@ -1730,24 +1730,82 @@ setMethod("toRadians",
#' to_date
#'
-#' Converts the column into DateType.
+#' Converts the column into DateType, optionally with a format. Returns
null if input is invalid.
--- End diff --
`Returns null if input is invalid.` - seems like this could confuse things
since the sql function we don't actually NULL - would the column contains NULL
value as a result? If so we should explain that here. Also, I'm pretty sure
null in JVM gets turn into `NA` in R, might want to check for this case.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]