diff options
author | Takuya UESHIN <ueshin@happy-camper.st> | 2014-05-26 00:17:20 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-05-26 00:17:37 -0700 |
commit | 7a831636c4a9320f4b9022ed23936ad1d3866cf7 (patch) | |
tree | 0c6191cfb8128c47cf8b42a2cf31f879c3fdd289 /graphx | |
parent | 2669f57f37ab818cdf57e764a9b833742ab8dbcb (diff) | |
download | spark-7a831636c4a9320f4b9022ed23936ad1d3866cf7.tar.gz spark-7a831636c4a9320f4b9022ed23936ad1d3866cf7.tar.bz2 spark-7a831636c4a9320f4b9022ed23936ad1d3866cf7.zip |
[SPARK-1914] [SQL] Simplify CountFunction not to traverse to evaluate all child expressions.
`CountFunction` should count up only if the child's evaluated value is not null.
Because it traverses to evaluate all child expressions, even if the child is null, it counts up if one of the all children is not null.
Author: Takuya UESHIN <ueshin@happy-camper.st>
Closes #861 from ueshin/issues/SPARK-1914 and squashes the following commits:
3b37315 [Takuya UESHIN] Merge branch 'master' into issues/SPARK-1914
2afa238 [Takuya UESHIN] Simplify CountFunction not to traverse to evaluate all child expressions.
(cherry picked from commit d6395d86f90d1c47c5b6ad17c618b56e00b7fc85)
Signed-off-by: Reynold Xin <rxin@apache.org>
Diffstat (limited to 'graphx')
0 files changed, 0 insertions, 0 deletions