Skip to content

Commit 24d55f3

Browse files
committed
Unapply change
1 parent 522c1f6 commit 24d55f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/scala/edu/berkeley/cs/rise/opaque/OpaqueOperatorTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ trait OpaqueOperatorTests extends FunSuite with BeforeAndAfterAll { self =>
339339
val data = for (i <- 0 until 256) yield (i, abc(i), i.toDouble)
340340
val words = makeDF(data, securityLevel, "id", "category", "price")
341341

342-
val result = words.groupBy("category").agg(avg("price"))
343-
result.collect.sortBy { case Row(category: String, _) => category }
342+
words.groupBy("category").agg(avg("price").as("avgPrice"))
343+
.collect.sortBy { case Row(category: String, _) => category }
344344
}
345345

346346
testAgainstSpark("aggregate count") { securityLevel =>

0 commit comments

Comments
 (0)