This repo contains:
- The slides for the presentation: (PDF)
- The code used for the live demo, under ./src
- The extra.tsv file that is used in the demo
- NOT INCLUDED: the Spark assembly jar under ./lib, required if you want to try to run the example with Spark RDDs (if you struggle to create one, contact me at contact.galliaproject@gmail.com)
To run the code as it is:
$ cp ./extra.tsv /tmp/
$ sbt run # tested on 1.9.0
This should produce:
{
"donor": true,
"donors": [
{
"name": "Alice",
"age": 27,
"phones": [
"123-4598"
],
"cars": [
{
"year": 18,
"type": "rav4 BLACK"
},
{
"year": 19,
"type": "cruze GREEN"
}
]
},
{
"name": "Bob",
"age": 26,
"phones": [
"123-4567",
"123-9876"
],
"cars": [
{
"year": 17,
"type": "prius BLUE"
}
]
}
]
}
If you have any issues with running the above, don't hesitate to reach out to me on via email, LinkedIn, Twitter, Scala Users, or create a Github issue on here!