You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2015/04/12 19:58:59 UTC

spark git commit: [MINOR] a typo: coalesce

Repository: spark
Updated Branches:
  refs/heads/master 6ac8eea2f -> 04bcd67cf


[MINOR] a typo: coalesce

Author: Daoyuan Wang <da...@intel.com>

Closes #5482 from adrian-wang/typo and squashes the following commits:

e65ef6f [Daoyuan Wang] typo


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/04bcd67c
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/04bcd67c
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/04bcd67c

Branch: refs/heads/master
Commit: 04bcd67cfc50f847559a9ff59a31aa93028b3628
Parents: 6ac8eea
Author: Daoyuan Wang <da...@intel.com>
Authored: Sun Apr 12 18:58:53 2015 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Sun Apr 12 18:58:53 2015 +0100

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/execution/GeneratedAggregate.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/04bcd67c/sql/core/src/main/scala/org/apache/spark/sql/execution/GeneratedAggregate.scala
----------------------------------------------------------------------
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 3c58e93..95176e4 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(


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org