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, ...)

See Also

Other misc_funcs: crc32, md5, sha1, sha2

Examples

## Not run: hash(df$c)

[Package SparkR version 2.0.0 Index]