diff options
author | Daoyuan Wang <daoyuan.wang@intel.com> | 2015-04-12 18:58:53 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-04-12 18:58:53 +0100 |
commit | 04bcd67cfc50f847559a9ff59a31aa93028b3628 (patch) | |
tree | 3b81194ef0ea8cd2548736fe466623853160b5c7 /sql | |
parent | 6ac8eea2fc6b782015236e4e7106e59d0d9e1b38 (diff) | |
download | spark-04bcd67cfc50f847559a9ff59a31aa93028b3628.tar.gz spark-04bcd67cfc50f847559a9ff59a31aa93028b3628.tar.bz2 spark-04bcd67cfc50f847559a9ff59a31aa93028b3628.zip |
[MINOR] a typo: coalesce
Author: Daoyuan Wang <daoyuan.wang@intel.com>
Closes #5482 from adrian-wang/typo and squashes the following commits:
e65ef6f [Daoyuan Wang] typo
Diffstat (limited to 'sql')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/execution/GeneratedAggregate.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/GeneratedAggregate.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/GeneratedAggregate.scala index 3c58e93b45..95176e4251 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/execution/GeneratedAggregate.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/GeneratedAggregate.scala @@ -97,7 +97,7 @@ case class GeneratedAggregate( val currentSum = AttributeReference("currentSum", calcType, nullable = true)() val initialValue = Literal.create(null, calcType) - // Coalasce avoids double calculation... + // Coalesce avoids double calculation... // but really, common sub expression elimination would be better.... val zero = Cast(Literal(0), calcType) val updateFunction = Coalesce( |