Skip to content

Conversation

@chenghao-intel
Copy link
Contributor

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.

@rxin
Copy link
Contributor

rxin commented Jul 24, 2014

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...

@rxin
Copy link
Contributor

rxin commented Jul 24, 2014

Do you mind looking into how we can parallelize the hive compatibility tests?

@SparkQA
Copy link

SparkQA commented Jul 24, 2014

QA tests have started for PR 1570. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17113/consoleFull

@chenghao-intel
Copy link
Contributor Author

Yes, I will think about how to parallelize those tests.

@marmbrus
Copy link
Contributor

There is already support for running the hive tests in parallel.

Though there might be a bug in it?

@rxin
Copy link
Contributor

rxin commented Jul 24, 2014

Does our CI script use it?

Copy link
Contributor

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".

Copy link
Contributor Author

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.

@marmbrus
Copy link
Contributor

No, but that would be awesome.

@rxin
Copy link
Contributor

rxin commented Jul 24, 2014

Yup!

@SparkQA
Copy link

SparkQA commented Jul 24, 2014

QA tests have started for PR 1570. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17116/consoleFull

@adrian-wang
Copy link
Contributor

I think you forgot to white-list the test:)

@chenghao-intel
Copy link
Contributor Author

Yes, thank you very much. Added :)

@SparkQA
Copy link

SparkQA commented Jul 24, 2014

QA tests have started for PR 1570. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17117/consoleFull

@SparkQA
Copy link

SparkQA commented Jul 24, 2014

QA results for PR 1570:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds the following public classes (experimental):
case class EqualNSTo(left: Expression, right: Expression) extends BinaryComparison {

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17113/consoleFull

@SparkQA
Copy link

SparkQA commented Jul 24, 2014

QA results for PR 1570:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds the following public classes (experimental):
case class EqualNullSafe(left: Expression, right: Expression) extends BinaryComparison {

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17116/consoleFull

@SparkQA
Copy link

SparkQA commented Jul 24, 2014

QA results for PR 1570:
- This patch FAILED unit tests.
- This patch merges cleanly
- This patch adds the following public classes (experimental):
case class EqualNullSafe(left: Expression, right: Expression) extends BinaryComparison {

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17117/consoleFull

@marmbrus
Copy link
Contributor

orc_predicate_pushdown looks like a poorly written test to me. Both of the results returned satisfy the predicate. Really you should never have a limit clause without a ordering.

I'd move this tests from the whitelist to the blacklist (with a note about why) and delete the test files.

@chenghao-intel
Copy link
Contributor Author

Thank you @marmbrus , it's done.

@SparkQA
Copy link

SparkQA commented Jul 25, 2014

QA tests have started for PR 1570. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17149/consoleFull

@SparkQA
Copy link

SparkQA commented Jul 25, 2014

QA results for PR 1570:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds the following public classes (experimental):
case class EqualNullSafe(left: Expression, right: Expression) extends BinaryComparison {

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17149/consoleFull

@marmbrus
Copy link
Contributor

Thanks! I've merge this into master

@asfgit asfgit closed this in 184aa1c Jul 25, 2014
@chenghao-intel chenghao-intel deleted the equalns branch July 28, 2014 01:06
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
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
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.

5 participants