Skip to content

Commit

Permalink
Add compileError test to check creating a DataFrame with a list of st…
Browse files Browse the repository at this point in the history
…ruct fields (#91)
  • Loading branch information
manuzhang authored and MrPowers committed May 20, 2019
1 parent 70115cf commit 9cffd6f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ object SparkSessionExtTest extends TestSuite with DataFrameComparer with SparkSe

}

"creates a DataFrame with a list of struct fields should have compile error" - {
compileError("spark.createDF(List(1,2), List(\"num1\", IntegerType, true))")
}

}

'createEmptyDF - {
Expand Down

0 comments on commit 9cffd6f

Please sign in to comment.