Github user yu-iskw commented on a diff in the pull request:
https://github.com/apache/spark/pull/8194#discussion_r37153231
--- Diff: R/pkg/R/functions.R ---
@@ -67,6 +67,14 @@ createFunctions <- function() {
createFunctions()
+#' @rdname functions
+#' @return Creates a Column class of literal value.
+#' @export
+lit <- function(x) {
--- End diff --
I didn't know we can use `ANY` as a signature.
"There are two special classes that can be used in the signature: missing
and ANY. missing matches the case where the argument is not supplied, and ANY
is used for setting up default methods."
http://adv-r.had.co.nz/S4.html
---
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]