Hi,In my spark application I queried a hive table and tried to take only one record, but got java.lang.RuntimeException: Couldn't find function Some
val rddCoOrd = sql("SELECT date, x, y FROM coordinate where .... order by date limit 1")
valresultCoOrd = rddCoOrd.take(1)(0) Any ideas? I tested the same code on spark shell, it worked. Best, Patcharee