-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-2665] [SQL] Add EqualNS & Unit Tests #1570
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
|
This is really nice - passes a lot more tests. I guess we will eventually run into the problem that the unit tests without parallelization will take too long... |
|
Do you mind looking into how we can parallelize the hive compatibility tests? |
|
QA tests have started for PR 1570. This patch merges cleanly. |
|
Yes, I will think about how to parallelize those tests. |
|
There is already support for running the hive tests in parallel. Though there might be a bug in it? |
|
Does our CI script use it? |
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.
Can we spell this out? (i.e. EqualsNullSafe) Since there is no conflict with Scala we can probably leave out the "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.
Got it. will rename it.
|
No, but that would be awesome. |
|
Yup! |
|
QA tests have started for PR 1570. This patch merges cleanly. |
|
I think you forgot to white-list the test:) |
|
Yes, thank you very much. Added :) |
|
QA tests have started for PR 1570. This patch merges cleanly. |
|
QA results for PR 1570: |
|
QA results for PR 1570: |
|
QA results for PR 1570: |
|
I'd move this tests from the whitelist to the blacklist (with a note about why) and delete the test files. |
|
Thank you @marmbrus , it's done. |
|
QA tests have started for PR 1570. This patch merges cleanly. |
|
QA results for PR 1570: |
|
Thanks! I've merge this into master |
Hive Supports the operator "<=>", which returns same result with EQUAL(=) operator for non-null operands, but returns TRUE if both are NULL, FALSE if one of the them is NULL. Author: Cheng Hao <[email protected]> Closes apache#1570 from chenghao-intel/equalns and squashes the following commits: 8d6c789 [Cheng Hao] Remove the test case orc_predicate_pushdown 5b2ca88 [Cheng Hao] Add cases into whitelist 8e66cdd [Cheng Hao] Rename the EqualNSTo ==> EqualNullSafe 7af4b0b [Cheng Hao] Add EqualNS & Unit Tests
Hive Supports the operator "<=>", which returns same result with EQUAL(=) operator for non-null operands, but returns TRUE if both are NULL, FALSE if one of the them is NULL.