when {SparkR} | R Documentation |
Evaluates a list of conditions and returns one of multiple possible result expressions. For unmatched expressions null is returned.
## S4 method for signature 'Column' when(condition, value)
Other normal_funcs: abs
;
bitwiseNOT
, bitwiseNOT
;
expr
, expr
;
greatest
, greatest
;
ifelse
; isNaN
,
isNaN
; least
,
least
; lit
,
lit
; nanvl
,
nanvl
; negate
,
negate
; randn
,
randn
, randn
;
rand
, rand
,
rand