Skip to content

Commit

Permalink
address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kiszk committed Mar 10, 2018
1 parent 6e45791 commit 603ce0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ class WholeStageCodegenSuite extends QueryTest with SharedSQLContext {
test("SPARK-23598: Codegen working for lots of aggregation operations without runtime errors") {
withSQLConf(SQLConf.SHUFFLE_PARTITIONS.key -> "1") {
var df = Seq((8, "bat"), (15, "mouse"), (5, "horse")).toDF("age", "name")
for (i <- 0 until 73) {
for (i <- 0 until 70) {
df = df.groupBy("name").agg(avg("age").alias("age"))
}
assert(df.limit(1).collect() === Array(Row("bat", 8.0)))
Expand Down

0 comments on commit 603ce0f

Please sign in to comment.