Skip to content

Conversation

@davies
Copy link
Contributor

@davies davies commented Jan 5, 2016

Cartesian product use UnsafeExternalSorter without comparator to do spilling, it will NPE if spilling happens.

This bug also hitted by #10605

cc @JoshRosen

Copy link
Contributor

Choose a reason for hiding this comment

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

recordComparator is nullable? That's surprising to me. If recordComparator is null, does that also imply that prefixComparator is null? Can we put @Nullable annotations on the parameter so that IntelliJ's fancy nullability handling checks work properly?

@SparkQA
Copy link

SparkQA commented Jan 6, 2016

Test build #48793 has finished for PR 10606 at commit ea9f019.

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

@davies
Copy link
Contributor Author

davies commented Jan 6, 2016

@JoshRosen I'm merging this into master and 1.6 branch to unblock another PR, will add @nullable in that PR.

@asfgit asfgit closed this in 70fe6ce Jan 6, 2016
@JoshRosen
Copy link
Contributor

More comments would also be appreciated, since this is pretty confusing.

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.

3 participants