Skip to content

Commit

Permalink
Fixed DataFrameJoinSuite.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed May 8, 2015
1 parent d910141 commit b8b87e1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ class DataFrameJoinSuite extends QueryTest {
df.join(df, df("key") === df("key") && df("value") === 1),
Row(1, "1", 1, "1") :: Nil)

val left = df.groupBy("key").agg($"key", count("*"))
val right = df.groupBy("key").agg($"key", sum("key"))
val left = df.groupBy("key").agg(count("*"))
val right = df.groupBy("key").agg(sum("key"))
checkAnswer(
left.join(right, left("key") === right("key")),
Row(1, 1, 1, 1) :: Row(2, 1, 2, 2) :: Nil)
Expand Down

0 comments on commit b8b87e1

Please sign in to comment.