Skip to content

amir-haroun/SparkExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spark example

This is a basic scala spark project, it uses spark 4 and scala 2.13.

  • It reads to files (JSON/CSV) from the data directory,
  • Does some calculation for every vehicle
  • Executes a join to retreive the driver's name
  • Writes the result in the outupt directory

Execute the code using sbt

sbt compile
sbt run

Build the fat Jar

sbt assembly

This command will generate a Jar under target/scala-2.13, this jar can be shipped and executed on a spark cluster.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages