Skip to content

Conversation

@JoshRosen
Copy link
Contributor

This patch ports changes from #15185 to Spark 2.x. In that patch, a correctness bug in Spark 1.6.x which was caused by an invalid equals() comparison between an UnsafeRow and another row of a different format. Spark 2.x is not affected by that specific correctness bug but it can still reap the error-prevention benefits of that patch's changes, which modify ``UnsafeRow.equals()to throw an IllegalArgumentException if it is called with an object that is not anUnsafeRow`.

@hvanhovell
Copy link
Contributor

LGTM - pending jenkins.

@SparkQA
Copy link

SparkQA commented Sep 27, 2016

Test build #65991 has finished for PR 15265 at commit f4de93f.

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

@JoshRosen
Copy link
Contributor Author

Merging to master and branch-2.0. Thanks!

@asfgit asfgit closed this in 2f84a68 Sep 27, 2016
asfgit pushed a commit that referenced this pull request Sep 27, 2016
… other formats

This patch ports changes from #15185 to Spark 2.x. In that patch, a  correctness bug in Spark 1.6.x which was caused by an invalid `equals()` comparison between an `UnsafeRow` and another row of a different format. Spark 2.x is not affected by that specific correctness bug but it can still reap the error-prevention benefits of that patch's changes, which modify  ``UnsafeRow.equals()` to throw an IllegalArgumentException if it is called with an object that is not an `UnsafeRow`.

Author: Josh Rosen <[email protected]>

Closes #15265 from JoshRosen/SPARK-17618-master.

(cherry picked from commit 2f84a68)
Signed-off-by: Josh Rosen <[email protected]>
@JoshRosen JoshRosen deleted the SPARK-17618-master branch September 27, 2016 21:20
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