SparkR (version 2.1.2)

greatest: greatest

Description

Returns the greatest value of the list of column names, skipping null values. This function takes at least 2 parameters. It will return null if all parameters are null.

Usage

greatest(x, ...)

# S4 method for Column greatest(x, ...)

Arguments

x

Column to compute on

...

other columns

See Also

Other normal_funcs: abs, bitwiseNOT, coalesce, column, expr, ifelse, isnan, least, lit, nanvl, negate, randn, rand, struct, when

Examples

Run this code
# NOT RUN {
greatest(df$c, df$d)
# }

Run the code above in your browser using DataLab