Hello All,
I am new to Spark programming. I have some confusions regarding SparkContext and SparkSession.
When to create a SparkSession and when not?
When to create SparkContext and when not?
Is SparkContext required only to create RDD’s?
Though I know that for Sql, streaming and hive context we use SparkSession from 2.0.