-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-19127][DOCS] Update Rank Function Documentation #16505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
R/pkg/R/functions.R
Outdated
| #' Window function: returns the rank of rows within a window partition. | ||
| #' | ||
| #' The difference between rank and denseRank is that denseRank leaves no gaps in ranking | ||
| #' sequence when there are ties. That is, if you were ranking a competition using denseRank |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The above two lines also have denseRank. To be consistent, we also should rename it to dense_rank
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added, thanks for the feedback.
|
Test build #71043 has finished for PR 16505 at commit
|
|
Thanks - merging in master/branch-2.1. |
## What changes were proposed in this pull request? - [X] Fix inconsistencies in function reference for dense rank and dense - [X] Make all languages equivalent in their reference to `dense_rank` and `rank`. ## How was this patch tested? N/A for docs. Please review http://spark.apache.org/contributing.html before opening a pull request. Author: anabranch <[email protected]> Closes #16505 from anabranch/SPARK-19127. (cherry picked from commit 1f6ded6) Signed-off-by: Reynold Xin <[email protected]>
|
Test build #71045 has finished for PR 16505 at commit
|
## What changes were proposed in this pull request? - [X] Fix inconsistencies in function reference for dense rank and dense - [X] Make all languages equivalent in their reference to `dense_rank` and `rank`. ## How was this patch tested? N/A for docs. Please review http://spark.apache.org/contributing.html before opening a pull request. Author: anabranch <[email protected]> Closes apache#16505 from anabranch/SPARK-19127.
## What changes were proposed in this pull request? - [X] Fix inconsistencies in function reference for dense rank and dense - [X] Make all languages equivalent in their reference to `dense_rank` and `rank`. ## How was this patch tested? N/A for docs. Please review http://spark.apache.org/contributing.html before opening a pull request. Author: anabranch <[email protected]> Closes apache#16505 from anabranch/SPARK-19127.
What changes were proposed in this pull request?
dense_rankandrank.How was this patch tested?
N/A for docs.
Please review http://spark.apache.org/contributing.html before opening a pull request.