https://blog.knoldus.com/apache-spark-handle-corrupt-bad-records/
Apache Spark: Handle Corrupt/Bad Records