cast {SparkR} | R Documentation |
Casts the column to a different data type.
## S4 method for signature 'Column' cast(x, dataType) cast(x, dataType)
cast since 1.4.0
Other colum_func: alias
,
alias,Column-method
; between
,
between
,
between,Column-method
;
endsWith
, endsWith
,
endsWith,Column-method
;
otherwise
, otherwise
,
otherwise,Column-method
;
over
, over
,
over,Column,WindowSpec-method
;
startsWith
, startsWith
,
startsWith,Column-method
;
substr
, substr,Column-method
## Not run:
##D cast(df$age, "string")
## End(Not run)