-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-9130][SQL] throw exception when check equality between external and internal row #7460
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
|
cc @rxin |
|
LGTM |
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.
technically you want .eq instead of == i think, because == actually triggers the equality of the other function
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.
I tried, but eq accepts AnyRef, here o is Any. I googled it, looks like x == null is OK for null check in scala.
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.
alright then lgtm
|
let's see if we have any places that we mistakenly compare |
|
Test build #37599 timed out for PR 7460 at commit |
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.
finally figure out how to use eq to do null check here...
|
Test build #37632 has finished for PR 7460 at commit
|
|
Thanks - merging this in. |
instead of return false, throw exception when check equality between external and internal row is better.