Question: Using Spark to work with Dataset and use the dataset available at http://bit.ly/1Aoywaq. Using the dataset complete the following tasks. 1. Please create a raw
Using Spark to work with Dataset and use the dataset available at http://bit.ly/1Aoywaq.
Using the dataset complete the following tasks.
1. Please create a raw RDD for all the CSV files
2. Please remove all headers from the RDD
3. Please convert each record in the RDD to a case class record
4. Please sample 20 records from the RDD.
Please provide the code and screen shot.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
