Hi,

In the spark shell, I do the following two things:

1. scala> val cxt = new org.apache.spark.sql.SQLContext(sc);
2. scala> import sqlContext._

The 1st one succeeds while the 2nd one fails with the following error,

<console>:10: error: not found: value sqlContext 
import sqlContext._

Is there something missing? I am using Spark 1.2.0.

Thanks.




bit1...@163.com

Reply via email to