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

Arguments

x

Column to compute on.

...

additional Column(s) to be included.

Note

hash since 2.0.0

See Also

Other misc_funcs: crc32, crc32, crc32,Column-method; md5, md5, md5,Column-method; monotonically_increasing_id, monotonically_increasing_id, monotonically_increasing_id,missing-method; sha1, sha1, sha1,Column-method; sha2, sha2, sha2,Column,numeric-method

Examples

## Not run: hash(df$c)

[Package SparkR version 2.0.2 Index]