Skip to content

Commit

Permalink
Revert "Add test"
Browse files Browse the repository at this point in the history
This reverts commit 2c465f6.
  • Loading branch information
hvanhovell committed Aug 14, 2023
1 parent 3c1ea33 commit 4815463
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,4 @@ class ReplE2ESuite extends RemoteSparkSession with BeforeAndAfterEach {
val output = runCommandsInShell(input)
assertContains("Array[MyTestClass] = Array(MyTestClass(1), MyTestClass(3))", output)
}

test("REPL class in UDF") {
val input = """
|case class MyTestClass(value: Int)
|spark.range(2).map(i => MyTestClass(i.toInt)).collect()
""".stripMargin
val output = runCommandsInShell(input)
assertContains("Array[MyTestClass] = Array(MyTestClass(0), MyTestClass(1))", output)
}
}

0 comments on commit 4815463

Please sign in to comment.