Skip to content

Conversation

@bllchmbrs
Copy link
Contributor

What changes were proposed in this pull request?

  • Fix inconsistencies in function reference for dense rank and dense
  • 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.

#' 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
Copy link
Member

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

Copy link
Contributor Author

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.

@SparkQA
Copy link

SparkQA commented Jan 8, 2017

Test build #71043 has finished for PR 16505 at commit cadb8de.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Jan 9, 2017

Thanks - merging in master/branch-2.1.

asfgit pushed a commit that referenced this pull request Jan 9, 2017
## 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]>
@asfgit asfgit closed this in 1f6ded6 Jan 9, 2017
@SparkQA
Copy link

SparkQA commented Jan 9, 2017

Test build #71045 has finished for PR 16505 at commit 5ef5958.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

cmonkey pushed a commit to cmonkey/spark that referenced this pull request Jan 9, 2017
## 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.
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
## 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants