This repository contains the source code of the blog post https://medium.com/appsflyerengineering/functional-elegance-making-spark-applications-cleaner-with-the-cats-library-0f9da61ff065
- Scala 2.13
- Java 8 or 11 (for spark, maybe newer also work)
- sbt in terminal
You can import the project into your favorite IDE as sbt project.
Also, you can try to run all 3 approaches from the post as follows:
sbt "runMain com.sanevich.example.NaiveApproach"
sbt "runMain com.sanevich.example.TupledApproach"
sbt "runMain com.sanevich.example.WriterApproach"