Assignment 4 : Spark Structured API
INSTRUCTIONS In the lecture on Spark Structured API, we did not specify the schema of our dataset. We relied on the inference of Spark engine which generally loads data as Strings. We can create a schema by using an object of a class called StructType consisting of an array of