Skip to content

[SPARK-26328][SQL] Use GenerateOrdering for group key comparision in WindowExec#23279

Closed
icexelloss wants to merge 1 commit intoapache:masterfrom
icexelloss:SPARK-26328-window-group-key
Closed

[SPARK-26328][SQL] Use GenerateOrdering for group key comparision in WindowExec#23279
icexelloss wants to merge 1 commit intoapache:masterfrom
icexelloss:SPARK-26328-window-group-key

Conversation

@icexelloss
Copy link
Contributor

@icexelloss icexelloss commented Dec 10, 2018

What changes were proposed in this pull request?

Use GenerateOrdering for group key comparison in WindowExec. See discussion: #22305 (comment)

How was this patch tested?

Existing tests.

buffer.clear()

while (nextRowAvailable && nextGroup == currentGroup) {
while (nextRowAvailable && groupOrdering.compare(currentRow, nextRow) == 0) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed here: 8505418#r239312302

@icexelloss
Copy link
Contributor Author

cc @ueshin

@SparkQA
Copy link

SparkQA commented Dec 10, 2018

Test build #99929 has finished for PR 23279 at commit 4709506.

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

@icexelloss icexelloss closed this Dec 11, 2018
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.

2 participants