title: How to import the sparksession
body: <p>How can I create the sparksession?</p>
  
  <pre><code>scala&gt; import org.apache.spark.SparkConf
  import org.apache.spark.SparkConf
  
  scala&gt;    import org.apache.spark.SparkContext 
  import org.apache.spark.SparkContext
  
  scala&gt; val conf = SparkSession.builder.master("local").appName("testing").enableHiveSupport().getOrCreate()  
  
  &lt;console&gt;:27: error: not found: value SparkSession
           val conf = SparkSession.builder.master("local").appName("testing").enableHiveSupport().getOrCreate()
  </code></pre>