GitHub user ueshin opened a pull request:

    https://github.com/apache/spark/pull/1266

    [SPARK-2327] [SQL] Fix nullabilities of Join/Generate/Aggregate.

    Fix nullabilities of `Join`/`Generate`/`Aggregate` because:
    - Output attributes of opposite side of `OuterJoin` should be nullable.
    - Output attributes of generater side of `Generate` should be nullable if 
`join` is `true` and `outer` is `true`.
    - `AttributeReference` of `computedAggregates` of `Aggregate` should be the 
same as `aggregateExpression`'s.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ueshin/apache-spark issues/SPARK-2327

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/1266.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 #1266
    
----
commit f20f196e33e4bd6ab4adeb9bb4afea9b9256d902
Author: Takuya UESHIN <ues...@happy-camper.st>
Date:   2014-06-30T08:43:37Z

    Fix Join output nullabilities.

commit 09532ec6a67ba38b63deb6d0ea4607d7e8a07080
Author: Takuya UESHIN <ues...@happy-camper.st>
Date:   2014-06-30T08:45:10Z

    Fix Generate output nullabilities.

commit 0e31e377b4a8ba8c4bf698c2afea6a604a6c25bd
Author: Takuya UESHIN <ues...@happy-camper.st>
Date:   2014-06-30T08:48:52Z

    Fix Aggregate resultAttribute nullabilities.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to