SparkSession
The entry point into all functionality in Spark SQL is the SparkSession class. If you use spark-shell, SparkSession is automatically created for you.
Otherwise, you will need to create SparkSesison:
SparkSession is required for runing Spark SQL query.
Last updated