How to read a CSV file in spark-shell using Spark SQL

Hey there! Welcome to ClearUrDoubt.com. In this post, we will go through the steps to read a CSV file in Spark SQL using spark-shell.   Step 1: In Spark 1.6.0, to read a CSV file, we need to use a third-party tool(data bricks CSV API). we can import the dependency while opening spark-shell as below … Continue reading How to read a CSV file in spark-shell using Spark SQL