~/talk

Simple and Effective Spark Tests with Spark-Test

TalkinFrenchat ScalaIO 2019 · 2019-10-29..10-31· [testing]
links:none on file
slides:none on file

A library named Spark-Test offers unit-test helpers for Spark 2.0–2.4 by providing a fast preconfigured local SparkSession and utilities to create DataFrames and Datasets. It adds an equals comparison that throws clear exceptions with detailed per-column and per-row diffs (and options to ignore columns), and notes planned support for unordered comparisons and RDDs; the implementation is available and prints actionable failure reports.

AI-written summary · about

  1. 0:00Start
  2. 0:41Harrison Cheng
  3. 4:04Recipe for writing a unit test in Spark SQL
  4. 5:52Spark-testing-base and Spark-fast-test
  5. 10:02assertEquals - Example 1 with options
  6. 10:28assertEquals - Example 2
  7. 12:36Spark-Test - Upcoming developments
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.