Github user yu-iskw commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8266#discussion_r37372853
  
    --- Diff: R/pkg/R/functions.R ---
    @@ -163,3 +163,17 @@ setMethod("n", signature(x = "Column"),
               function(x) {
                 count(x)
               })
    +
    +#' when
    +#'
    +#' Evaluates a list of conditions and returns one of multiple possible 
result expressions.
    --- End diff --
    
    The comments of `when` is same as that of `otherwise` in Scala. As you're 
suggesting, it would be better to explain the difference. Hmm, do you have any 
good idea?


---
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]

Reply via email to