Why import implicit SqlContext.implicits._ after initializing SQLContext in a scala spark application.
when import is put outside the object , there seems to be an issue.
I am from a java back ground , where am not understanding the usage of import statements within a def object.
val sqlContext = new SQLContext(sc)
import sqlContext.implicits._
import sqlContext._