Skip to content

Commit

Permalink
Implement percent_rank() on GPU (#4924)
Browse files Browse the repository at this point in the history
* Implement percent_rank using cuDF but without window optimization used by rank and dense_rank

Signed-off-by: Navin Kumar <navink@nvidia.com>

* Cleanup

Signed-off-by: Navin Kumar <navink@nvidia.com>

* fixes: remove redundant tests, and fix comments

Signed-off-by: Navin Kumar <navink@nvidia.com>
  • Loading branch information
NVnavkumar authored Mar 11, 2022
1 parent 2fca312 commit 41bcaf6
Show file tree
Hide file tree
Showing 5 changed files with 639 additions and 516 deletions.
1 change: 1 addition & 0 deletions docs/configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ Name | SQL Function(s) | Description | Default Value | Notes
<a name="sql.expression.Not"></a>spark.rapids.sql.expression.Not|`!`, `not`|Boolean not operator|true|None|
<a name="sql.expression.OctetLength"></a>spark.rapids.sql.expression.OctetLength|`octet_length`|The byte length of string data|true|None|
<a name="sql.expression.Or"></a>spark.rapids.sql.expression.Or|`or`|Logical OR|true|None|
<a name="sql.expression.PercentRank"></a>spark.rapids.sql.expression.PercentRank|`percent_rank`|Window function that returns the percent rank value within the aggregation window|true|None|
<a name="sql.expression.Pmod"></a>spark.rapids.sql.expression.Pmod|`pmod`|Pmod|true|None|
<a name="sql.expression.PosExplode"></a>spark.rapids.sql.expression.PosExplode|`posexplode_outer`, `posexplode`|Given an input array produces a sequence of rows for each value in the array|true|None|
<a name="sql.expression.Pow"></a>spark.rapids.sql.expression.Pow|`pow`, `power`|lhs ^ rhs|true|None|
Expand Down
Loading

0 comments on commit 41bcaf6

Please sign in to comment.