SparkR (version 2.1.2)

expr: expr

Description

Parses the expression string into the column that it represents, similar to SparkDataFrame.selectExpr

Usage

expr(x)

# S4 method for character expr(x)

Arguments

x

an expression character object to be parsed.

See Also

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

Examples

Run this code
# NOT RUN {
expr('length(name)')
# }

Run the code above in your browser using DataLab