hash {SparkR}R Documentation

hash

Description

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

Usage

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

hash(x, ...)

See Also

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

Examples

## Not run: hash(df$c)

[Package SparkR version 2.0.0 Index]