I am trying to import spark.implicits._ Apparently, this is an object inside a class in scala. when i import it in a method like so:
def f() = { val spark
I just instantiate SparkSession and before to use, "import implicits".
@transient lazy val spark = SparkSession .builder() .master("spark://master:7777") .getOrCreate() import spark.implicits._