aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForest Fang <saurfang@users.noreply.github.com>2015-11-10 16:55:58 -0800
committerAndrew Or <andrew@databricks.com>2015-11-10 16:56:06 -0800
commit12c7635dc025239d3b69b9adef2f4eebb28edf48 (patch)
tree64a523889329c2ba41816db2e88deeaaba5dc9b4
parent6600786dddc89cb16779ee56b9173f63a3af3f27 (diff)
downloadspark-12c7635dc025239d3b69b9adef2f4eebb28edf48.tar.gz
spark-12c7635dc025239d3b69b9adef2f4eebb28edf48.tar.bz2
spark-12c7635dc025239d3b69b9adef2f4eebb28edf48.zip
[MINOR] Fix typo in AggregationQuerySuite.scala
Author: Forest Fang <saurfang@users.noreply.github.com> Closes #9357 from saurfang/patch-1.
-rw-r--r--sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/AggregationQuerySuite.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/AggregationQuerySuite.scala b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/AggregationQuerySuite.scala
index 8253921563..22d2aefd69 100644
--- a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/AggregationQuerySuite.scala
+++ b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/AggregationQuerySuite.scala
@@ -795,14 +795,14 @@ abstract class AggregationQuerySuite extends QueryTest with SQLTestUtils with Te
val df = sqlContext.createDataFrame(rdd, schema)
val allColumns = df.schema.fields.map(f => col(f.name))
- val expectedAnaswer =
+ val expectedAnswer =
data
.find(r => r.getInt(0) == 50)
.getOrElse(fail("A row with id 50 should be the expected answer."))
checkAnswer(
df.groupBy().agg(udaf(allColumns: _*)),
// udaf returns a Row as the output value.
- Row(expectedAnaswer)
+ Row(expectedAnswer)
)
}
}