Skip to content

Commit

Permalink
more style
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Jun 14, 2015
1 parent 806a373 commit fbd2065
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ class DataFrameSuite extends QueryTest {
Row("a", 3) :: Row("b", 2) :: Row("c", 1) :: Nil
)
}

test("explode alias and star") {
val df = Seq((Array("a"), 1)).toDF("a", "b")

checkAnswer(
df.select(explode($"a").as("a"), $"*"),
Row("a", Seq("a"), 1) :: Nil)
Expand Down

0 comments on commit fbd2065

Please sign in to comment.