Skip to content

Functional Elegance: Making Spark Applications Cleaner with the Cats Library

Notifications You must be signed in to change notification settings

Jenya95/functional-elegance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Functional Elegance: Making Spark Applications Cleaner with the Cats Library

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

Requirements

  • Scala 2.13
  • Java 8 or 11 (for spark, maybe newer also work)
  • sbt in terminal

How to run

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"

About

Functional Elegance: Making Spark Applications Cleaner with the Cats Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages