diff options
author | Takuya UESHIN <ueshin@happy-camper.st> | 2014-07-05 11:51:48 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-07-05 11:51:48 -0700 |
commit | 9d5ecf8205b924dc8a3c13fed68beb78cc5c7553 (patch) | |
tree | f6ec13b96cfa3ed5391a1538e2c8eb97713bea98 /examples | |
parent | 3da8df939ec63064692ba64d9188aeea908b305c (diff) | |
download | spark-9d5ecf8205b924dc8a3c13fed68beb78cc5c7553.tar.gz spark-9d5ecf8205b924dc8a3c13fed68beb78cc5c7553.tar.bz2 spark-9d5ecf8205b924dc8a3c13fed68beb78cc5c7553.zip |
[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.
Author: Takuya UESHIN <ueshin@happy-camper.st>
Closes #1266 from ueshin/issues/SPARK-2327 and squashes the following commits:
3ace83a [Takuya UESHIN] Add withNullability to Attribute and use it to change nullabilities.
df1ae53 [Takuya UESHIN] Modify nullabilize to leave attribute if not resolved.
799ce56 [Takuya UESHIN] Add nullabilization to Generate of SparkPlan.
a0fc9bc [Takuya UESHIN] Fix scalastyle errors.
0e31e37 [Takuya UESHIN] Fix Aggregate resultAttribute nullabilities.
09532ec [Takuya UESHIN] Fix Generate output nullabilities.
f20f196 [Takuya UESHIN] Fix Join output nullabilities.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions