I need to use window function in spark scala.
Spark version is 1.5.1 and scala is 2.11.7
There is a similar question (Using windowing functions in Spark)
But, in my case, there is no hive. I can't import org.apache.spark.sql.hive.HiveContext.
"By inheritance, HiveContext is actually an SQLContext" but, my case is not.
scala> sqlContext
res2: org.apache.spark.sql.SQLContext = org.apache.spark.sql.SQLContext@1136122a
Is there way to use window function?? thanks.