Casts the column to a different data type.
cast.RdCasts the column to a different data type.
Arguments
- x
a Column.
- dataType
a character object describing the target data type. See Spark Data Types for available data types.
See also
Other column_func:
alias(),
between(),
endsWith(),
otherwise(),
over(),
startsWith(),
substr()