Introduction
In the previous parts of this series, we have shown how to write functions as both combinations of dplyr verbs and SQL query generators that can be executed by Spark, how to execute them with DBI and how to achieve lazy SQL statements that only get executed when needed.
In this fourth part, we will look at how to write R functions that interface with Spark via a lower-level invocation API that …