~/talk

Upgrade Tooling w/Spark: It's not just for language versions

Talkat Scala Love in the City 2021 · on Saturday, 2021-02-13· [scala, data-engineering]
slides:none on file

A set of migration rules converts common Spark 2 patterns to Spark 3 equivalents using ScalaFix rules for Scala and Bowler interactive mode for Python, swapping RDD json reads to session.createDataset plus a String encoder and adding imports via a custom util. Running it on spark-testing-base produces a real PR but remains a proof of concept with printlns, an unfinished accumulator rule, frequent Python misapplies due to lack of types, and struggles against a 548-line exclude list of removals.

AI-written summary · about

  1. 0:00Start
  2. 1:35How I Came To Spark
  3. 2:38Open Source Live Streams
  4. 4:32Upgrading Spark
  5. 13:14Data Frame Reader
  6. 15:00Interactive Mode
  7. 17:26Adding Spark 3 Support To Spark Testing
  8. 18:11Upgrading the Sql Context Constructor
  9. 18:43Adding the Spark Session Import
  10. 20:24Rename Functions
  11. 21:11Scala Fix Rules
  12. 21:29Hive Context
  13. 21:54The Sql Context Constructor Rule
  14. 22:25Migrating the Deprecated Readers
  15. 23:26Add Import if Not Present
~/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.