~/talk

Simplifying Testing of Spark Applications

name:Megan Yow
linkedin:meganyow
slides:none on file

Shows that using Fugue and native Python lets the same tokenization and sentiment code run on pandas or Spark without changing logic, avoiding local cluster spinups and costly row‑by‑row Python UDF serialization; demonstrates map_in_pandas and pandas_udf quirks and Apache Arrow speedups, uses deterministic sampling (0.01 of a 1.7M‑tweet corpus) to iterate locally, drives development with TDD to reach essentially 100% unit test coverage, and the demos and tests run end to end.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Why use Spark
  3. 1:31Python Spark
  4. 2:10pandas
  5. 3:11Python vs Spark
  6. 4:50Scenarios
  7. 9:01Python UDF
  8. 12:26Pandas UDF
  9. 13:43Pandas Type Hints
  10. 14:46Undecorated UDFs
  11. 15:23Functional API
  12. 15:56Spark DataFrame
  13. 17:22Databricks
  14. 20:47Kaggle Notebook
  15. 29:25Testing in Spark
  16. 31:08Exploration Goals
  17. 32:00Mindset
  18. 34:36Demo
  19. 35:07Notebook Environment
  20. 36:29Tokenization
  21. 38:31Sentiment Scores
~/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.