GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/10812
[SPARK-12867] [SQL] Nullability of Intersect can be stricter
JIRA: https://issues.apache.org/jira/browse/SPARK-12867
When intersecting one nullable column with one non-nullable column, the
result will not contain any null. Thus, we can make nullability of `intersect`
stricter.
@liancheng Could you please check if the code changes are appropriate? Also
added test cases to verify the results. Thanks!
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark nullabilityIntersect
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10812.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10812
----
commit 7e5b90e8ae5c698fa8cae85c333954d43614aae2
Author: gatorsmile <[email protected]>
Date: 2016-01-18T19:01:05Z
make intersect nullability more restrict
commit 521945185e3c202941d510099b4ee07919c18676
Author: gatorsmile <[email protected]>
Date: 2016-01-18T19:28:00Z
Merge remote-tracking branch 'upstream/master' into nullabilityIntersect
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]