row_number {SparkR}R Documentation

row_number

Description

Window function: returns a sequential number starting at 1 within a window partition.

Usage

row_number(x)

## S4 method for signature 'missing'
row_number()

Details

This is equivalent to the ROW_NUMBER function in SQL.

See Also

Other window_funcs: cume_dist, dense_rank, lag, lead, ntile, percent_rank, rank

Examples

## Not run: row_number()

[Package SparkR version 2.0.0 Index]