Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

Writing the Steps Is Different from Running Them

Why a Table Calculation Became a Platform Problem

BOTIE

Training can revisit the same observations many times. On a large collection of machines, repeatedly writing intermediate results out and reading them back adds work that does not improve the model. Spark began as a Berkeley research project in 2009 and was released as open source in 2010. The researchers’ 2012 paper explained how keeping reusable data in distributed memory could help repeated calculations, while recording the operations made lost portions of the data recoverable.

Spark supplies the engine: it can divide work between processes and combine their results. Running that engine for a team creates another job. Someone has to provide compute, connect the approved data and make executions inspectable. Spark’s creators founded Databricks in 2013 to build a company around this kind of shared data work. Databricks is the managed platform; Apache Spark is a separate open-source project that can also run elsewhere.

Our first calculation uses Spark’s table interface. The Spark SQL work published in 2015 described how named columns and declared operations give a query engine information it can use to plan execution. A request for a filtered table describes a result; it need not calculate every row immediately. That is the distinction Botie will build on the workshop floor.

Sources for this history