-
Notifications
You must be signed in to change notification settings - Fork 28k
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
[SPARK-9814][SQL] EqualNotNull not passing to data sources #8096
Conversation
@@ -38,6 +38,14 @@ case class EqualTo(attribute: String, value: Any) extends Filter | |||
|
|||
/** | |||
* A filter that evaluates to `true` iff the attribute evaluates to a value | |||
* null safe and equal to `value`. |
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.
it'd be better if we expand this a bit to explain what null-safe means. e.g. similar to what's in mysql docs: http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#operator%5Fequal-to
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.
Should I write like this?
A filter that evaluates to true
if the attribute evaluates to a value equal to value
and if both the attribute and the value are null.
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.
maybe this
Performs equality comparison, similar to [[EqualTo]]. However, this differs from [[EqualTo]] in that it returns true (rather than NULL) if both inputs are NULL, and false (rather than NULL) if one of the input is NULL and the other is not NULL.
Jenkins, test this please. |
Test build #40428 has finished for PR 8096 at commit
|
Reset this please :) |
Jenkins, retest this please. |
Test build #40481 has finished for PR 8096 at commit
|
Thanks - I've merged this. |
Author: hyukjinkwon <gurwls223@gmail.com> Author: 권혁진 <gurwls223@gmail.com> Closes apache#8096 from HyukjinKwon/master.
No description provided.