hash {SparkR}R Documentation

hash

Description

Calculates the hash code of given columns, and returns the result as a int column.

Usage

hash(x, ...)

## S4 method for signature 'Column'
hash(x, ...)

Arguments

x

Column to compute on.

...

additional Column(s) to be included.

Note

hash since 2.0.0

See Also

Other misc_funcs: crc32, md5, monotonically_increasing_id, sha1, sha2

Examples

## Not run: hash(df$c)

[Package SparkR version 2.2.2 Index]