Beginning Apache Spark 2 by Hien Luu

Beginning Apache Spark 2 by Hien Luu

Author:Hien Luu
Language: eng
Format: epub
ISBN: 9781484235799
Publisher: Apress


Name

Description

rank

Returns the rank or order of rows within a frame based on some sorting order.

dense_rank

Similar to rank, but leaves no gaps in the ranks when there are ties.

percent_rank

Returns the relative rank of rows within a frame.

ntile(n)

Returns the ntile group ID in an ordered window partition. For example, if n is 4, the first quarter of the rows will get a value of 1, the second quarter of rows will get a value of 2, and so on.

row_number

Returns a sequential number starting with 1 with a frame.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.