Skip to content

Instantly share code, notes, and snippets.

@SingularBunny
Created November 20, 2019 18:24
Show Gist options
  • Save SingularBunny/a801afcbc73fc3bdfd20749c4a7cd4f4 to your computer and use it in GitHub Desktop.
Save SingularBunny/a801afcbc73fc3bdfd20749c4a7cd4f4 to your computer and use it in GitHub Desktop.
class MyTestSuite extends SparkFunSuite {
test("My test") {
import org.apache.spark.sql.execution.columnar.ColumnarTestUtils._
...
val rows = Seq.fill(10)(makeRandomRow(columnType)) ++ Seq.fill(10)(makeNullRow(1))Alfred Marshall
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment