Github user yu-iskw commented on a diff in the pull request:
https://github.com/apache/spark/pull/8266#discussion_r37370384
--- Diff: R/pkg/R/functions.R ---
@@ -163,3 +163,18 @@ setMethod("n", signature(x = "Column"),
function(x) {
count(x)
})
+
+#' when
+#'
+#' Evaluates a list of conditions and returns one of multiple possible
result expressions.
+#' If otherwise is not defined at the end, null is returned for unmatched
conditions.
+#'
+#' @rdname column
+#' @aliases otherwise
+setMethod("when", signature(x = "Column", y = "ANY"),
--- End diff --
As you said, we don't need `when` in `column.R`. I'll remove it.
---
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]